Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 105.7 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.661/0.661, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.09 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 76.19 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004947/0.1242, allocations: 3.732 MB / 0.6352 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1269, allocations: 1.785 MB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1271, allocations: 19.88 kB / 0.637 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.1278, allocations: 266.6 kB / 0.6373 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.1284, allocations: 310.4 kB / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1288, allocations: 247.5 kB / 0.6378 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1294, allocations: 0.6088 MB / 0.6384 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.1297, allocations: 250.6 kB / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.13, allocations: 251.1 kB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1303, allocations: 235 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.1303, allocations: 24 kB / 0.6391 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.1307, allocations: 271.4 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1308, allocations: 123.6 kB / 0.6395 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.131, allocations: 210.9 kB / 0.6397 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.1316, allocations: 0.5836 MB / 0.6403 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1316, allocations: 4 kB / 0.6403 GB, free: 11.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1316, allocations: 4 kB / 0.6403 GB, free: 11.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1316, allocations: 0 / 0.6403 GB, free: 11.97 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009865/0.1326, allocations: 0.74 MB / 0.641 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1326, allocations: 8.031 kB / 0.641 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.1327, allocations: 78.72 kB / 0.6411 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.1335, allocations: 128.2 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1339, allocations: 407.6 kB / 0.6416 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.134, allocations: 21.03 kB / 0.6416 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.134, allocations: 32.36 kB / 0.6416 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.1347, allocations: 0.5508 MB / 0.6422 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1347, allocations: 4 kB / 0.6422 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1348, allocations: 15.98 kB / 0.6422 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.1348, allocations: 40.53 kB / 0.6422 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/0.1355, allocations: 425.5 kB / 0.6426 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.1379, allocations: 3.337 MB / 0.6459 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.1385, allocations: 330.5 kB / 0.6462 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.1388, allocations: 180.2 kB / 0.6464 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1388, allocations: 4 kB / 0.6464 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1389, allocations: 34.5 kB / 0.6464 GB, free: 5.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1389, allocations: 4 kB / 0.6464 GB, free: 5.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.001816/0.1407, allocations: 1.059 MB / 0.6474 GB, free: 4.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1407, allocations: 59.58 kB / 0.6475 GB, free: 4.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.141, allocations: 333.6 kB / 0.6478 GB, free: 3.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1411, allocations: 33.7 kB / 0.6479 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1412, allocations: 243.5 kB / 0.6481 GB, free: 3.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.1413, allocations: 94.64 kB / 0.6482 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1414, allocations: 82.03 kB / 0.6483 GB, free: 3.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1415, allocations: 350.8 kB / 0.6486 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1418, allocations: 144.8 kB / 0.6487 GB, free: 2.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.1421, allocations: 294.5 kB / 0.649 GB, free: 2.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.1427, allocations: 476.7 kB / 0.6495 GB, free: 1.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1427, allocations: 7.938 kB / 0.6495 GB, free: 1.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008522/0.1436, allocations: 0.5541 MB / 0.65 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1436, allocations: 8 kB / 0.65 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.1436, allocations: 4 kB / 0.65 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.1439, allocations: 99 kB / 0.6501 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.1442, allocations: 83.88 kB / 0.6502 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1442, allocations: 15.88 kB / 0.6502 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1445, allocations: 31.97 kB / 0.6502 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.1445, allocations: 16 kB / 0.6503 GB, free: 1.008 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.1447, allocations: 169.7 kB / 0.6504 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1447, allocations: 43.53 kB / 0.6505 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.1455, allocations: 468 kB / 0.6509 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1455, allocations: 4 kB / 0.6509 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1455, allocations: 0 / 0.6509 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1455, allocations: 4 kB / 0.6509 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1468, allocations: 0.9668 MB / 0.6519 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1468, allocations: 4 kB / 0.6519 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.147, allocations: 47.95 kB / 0.6519 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.1473, allocations: 86.55 kB / 0.652 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1473, allocations: 12 kB / 0.652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1473, allocations: 3.938 kB / 0.652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1473, allocations: 0 / 0.652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.148, allocations: 0.5506 MB / 0.6525 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1482, allocations: 132.6 kB / 0.6527 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1482, allocations: 11.98 kB / 0.6527 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1484, allocations: 19.92 kB / 0.6527 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.1485, allocations: 31.89 kB / 0.6527 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1485, allocations: 4 kB / 0.6527 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002/0.1487, allocations: 239.2 kB / 0.653 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1487, allocations: 3.938 kB / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003641/0.1491, allocations: 88 kB / 0.6531 GB, free: 13.99 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009756/0.1501, allocations: 1.088 MB / 0.6541 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007885/0.1509, allocations: 0.6304 MB / 0.6547 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1509, allocations: 7.938 kB / 0.6547 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.1513, allocations: 431 kB / 0.6552 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.1519, allocations: 135 kB / 0.6553 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.1561, allocations: 3.72 MB / 0.6589 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1565, allocations: 0.8269 MB / 0.6597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.1567, allocations: 83.34 kB / 0.6598 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1568, allocations: 131.4 kB / 0.6599 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1568, allocations: 4 kB / 0.6599 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.1812, allocations: 8.291 MB / 0.668 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/9.069, allocations: 18.67 kB / 0.668 GB, free: 14.42 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)