Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.001411/0.001411, allocations: 109.5 kB / 16.41 MB, free: 6.492 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.001441/0.001442, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6746/0.6746, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.34 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004974/0.1291, allocations: 3.831 MB / 0.6353 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1317, allocations: 1.776 MB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.132, allocations: 4 kB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.1332, allocations: 448.3 kB / 0.6375 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006391/0.1339, allocations: 250.8 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.1344, allocations: 247.5 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.135, allocations: 0.4983 MB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.1355, allocations: 371.7 kB / 0.6388 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1357, allocations: 195.3 kB / 0.639 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1361, allocations: 235.1 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.1361, allocations: 28 kB / 0.6392 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.1364, allocations: 187.6 kB / 0.6394 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1365, allocations: 131.7 kB / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1367, allocations: 179.1 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.1372, allocations: 0.4914 MB / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1373, allocations: 0 / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1373, allocations: 0 / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.1373, allocations: 0 / 0.6402 GB, free: 12.05 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001065/0.1384, allocations: 0.6549 MB / 0.6408 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1384, allocations: 12.03 kB / 0.6408 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.074e-05/0.1385, allocations: 70.7 kB / 0.6409 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.139, allocations: 88.34 kB / 0.641 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.1394, allocations: 299.5 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1394, allocations: 21.03 kB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.1395, allocations: 32.36 kB / 0.6413 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.1402, allocations: 493.7 kB / 0.6418 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1403, allocations: 4 kB / 0.6418 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.1403, allocations: 12 kB / 0.6418 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.1404, allocations: 40.62 kB / 0.6419 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.141, allocations: 362.2 kB / 0.6422 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.143, allocations: 2.037 MB / 0.6442 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1435, allocations: 213.7 kB / 0.6444 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1438, allocations: 152.8 kB / 0.6445 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1438, allocations: 11.92 kB / 0.6446 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1439, allocations: 30.56 kB / 0.6446 GB, free: 7.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1439, allocations: 0 / 0.6446 GB, free: 7.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001007/0.1449, allocations: 423 kB / 0.645 GB, free: 6.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1449, allocations: 55.41 kB / 0.645 GB, free: 6.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1452, allocations: 266.6 kB / 0.6453 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1452, allocations: 29.7 kB / 0.6453 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1453, allocations: 211.6 kB / 0.6455 GB, free: 6.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.1454, allocations: 63.09 kB / 0.6456 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.1455, allocations: 61.89 kB / 0.6456 GB, free: 6.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1456, allocations: 334.8 kB / 0.646 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.1458, allocations: 105.9 kB / 0.6461 GB, free: 5.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.1461, allocations: 205.1 kB / 0.6463 GB, free: 5.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1466, allocations: 311.3 kB / 0.6466 GB, free: 5.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.1466, allocations: 4 kB / 0.6466 GB, free: 5.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006677/0.1473, allocations: 353.7 kB / 0.6469 GB, free: 4.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1473, allocations: 8 kB / 0.6469 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1473, allocations: 4.469 kB / 0.6469 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.1475, allocations: 40.83 kB / 0.6469 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1478, allocations: 75.72 kB / 0.647 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1489, allocations: 1.433 MB / 0.6484 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.1492, allocations: 43.77 kB / 0.6485 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1492, allocations: 15.98 kB / 0.6485 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003114/0.1495, allocations: 212.6 kB / 0.6487 GB, free: 2.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002746/0.1498, allocations: 213 kB / 0.6489 GB, free: 2.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004653/0.1503, allocations: 319.1 kB / 0.6492 GB, free: 2.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.1503, allocations: 0 / 0.6492 GB, free: 2.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006134/0.1509, allocations: 337 kB / 0.6495 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.1509, allocations: 9.562 kB / 0.6495 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1509, allocations: 4 kB / 0.6495 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.1509, allocations: 8 kB / 0.6495 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1512, allocations: 71.83 kB / 0.6496 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1512, allocations: 4 kB / 0.6496 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1514, allocations: 36.11 kB / 0.6496 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1515, allocations: 19.98 kB / 0.6497 GB, free: 1.562 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.1516, allocations: 203.6 kB / 0.6498 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.1516, allocations: 23.72 kB / 0.6499 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.1517, allocations: 34.17 kB / 0.6499 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1517, allocations: 4 kB / 0.6499 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1517, allocations: 0 / 0.6499 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1517, allocations: 4.031 kB / 0.6499 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.1528, allocations: 0.7537 MB / 0.6506 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1528, allocations: 0 / 0.6506 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1529, allocations: 43.97 kB / 0.6507 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.946e-05/0.1531, allocations: 32.84 kB / 0.6507 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1531, allocations: 4 kB / 0.6507 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000942/0.154, allocations: 1.422 MB / 0.6521 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.154, allocations: 0 / 0.6521 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.1546, allocations: 364 kB / 0.6525 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1547, allocations: 116.7 kB / 0.6526 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1548, allocations: 8 kB / 0.6526 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1549, allocations: 19.92 kB / 0.6526 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.155, allocations: 23.91 kB / 0.6526 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.155, allocations: 4 kB / 0.6526 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001544/0.1552, allocations: 186 kB / 0.6528 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1552, allocations: 3.938 kB / 0.6528 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005362/0.1557, allocations: 139.6 kB / 0.6529 GB, free: 13.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007932/0.1565, allocations: 0.9044 MB / 0.6538 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009518/0.1575, allocations: 487.5 kB / 0.6543 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1575, allocations: 0 / 0.6543 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.1578, allocations: 226.4 kB / 0.6545 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1583, allocations: 86.34 kB / 0.6546 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.1616, allocations: 2.877 MB / 0.6574 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.162, allocations: 0.8035 MB / 0.6582 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.1622, allocations: 70.3 kB / 0.6582 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1623, allocations: 91.41 kB / 0.6583 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1623, allocations: 0 / 0.6583 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.1882, allocations: 6.308 MB / 0.6645 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.75, allocations: 13 kB / 0.6645 GB, free: 1.961 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)