Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.001321/0.001321, allocations: 104.1 kB / 16.4 MB, free: 6.508 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.001207/0.001207, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.22/1.22, 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.6891/0.6891, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.89 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1209, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004926/0.1259, allocations: 3.815 MB / 0.6353 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1282, allocations: 1.737 MB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1284, allocations: 8 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1297, allocations: 0.4883 MB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.1301, allocations: 226.9 kB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1305, allocations: 203.5 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.1309, allocations: 470.4 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.1313, allocations: 364 kB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.1316, allocations: 199.2 kB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.132, allocations: 219.2 kB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.132, allocations: 28 kB / 0.6391 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1323, allocations: 243.4 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1324, allocations: 127.7 kB / 0.6395 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1326, allocations: 167.2 kB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.1331, allocations: 0.507 MB / 0.6401 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1331, allocations: 0 / 0.6401 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1331, allocations: 0 / 0.6401 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1331, allocations: 4 kB / 0.6401 GB, free: 12.13 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009031/0.134, allocations: 0.6355 MB / 0.6407 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.134, allocations: 12.03 kB / 0.6408 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.1341, allocations: 74.66 kB / 0.6408 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.1349, allocations: 132.4 kB / 0.641 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.1354, allocations: 295.6 kB / 0.6412 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1354, allocations: 21.03 kB / 0.6413 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.1355, allocations: 28.38 kB / 0.6413 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.136, allocations: 463.7 kB / 0.6417 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.136, allocations: 4 kB / 0.6417 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.1361, allocations: 12 kB / 0.6417 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.1361, allocations: 28.55 kB / 0.6418 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.1365, allocations: 325.9 kB / 0.6421 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1384, allocations: 2.181 MB / 0.6442 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.1389, allocations: 247.8 kB / 0.6444 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1391, allocations: 108.2 kB / 0.6445 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1391, allocations: 0 / 0.6445 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1391, allocations: 42.56 kB / 0.6446 GB, free: 7.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 8.71e-07/0.1391, allocations: 0 / 0.6446 GB, free: 7.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005212/0.1397, allocations: 295.5 kB / 0.6449 GB, free: 6.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1397, allocations: 55.41 kB / 0.6449 GB, free: 6.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1399, allocations: 270.5 kB / 0.6452 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.14, allocations: 33.7 kB / 0.6452 GB, free: 6.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1401, allocations: 203.8 kB / 0.6454 GB, free: 6.281 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1401, allocations: 51.34 kB / 0.6455 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1402, allocations: 45.94 kB / 0.6455 GB, free: 6.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1403, allocations: 338.8 kB / 0.6458 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.1404, allocations: 52.44 kB / 0.6459 GB, free: 5.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1406, allocations: 149.7 kB / 0.646 GB, free: 5.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1409, allocations: 226.9 kB / 0.6462 GB, free: 5.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1409, allocations: 0 / 0.6462 GB, free: 5.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003565/0.1412, allocations: 260.4 kB / 0.6465 GB, free: 5.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1413, allocations: 8 kB / 0.6465 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1413, allocations: 8.312 kB / 0.6465 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.1414, allocations: 28.94 kB / 0.6465 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1416, allocations: 51.86 kB / 0.6466 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008982/0.1425, allocations: 1.426 MB / 0.648 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1426, allocations: 27.75 kB / 0.648 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1427, allocations: 15.98 kB / 0.648 GB, free: 3.371 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1428, allocations: 165.7 kB / 0.6482 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.1428, allocations: 31.8 kB / 0.6482 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.1429, allocations: 25.84 kB / 0.6482 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1429, allocations: 0 / 0.6482 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1429, allocations: 0 / 0.6482 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1429, allocations: 3.984 kB / 0.6482 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/0.1438, allocations: 0.7024 MB / 0.6489 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1438, allocations: 4 kB / 0.6489 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.1439, allocations: 19.98 kB / 0.6489 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.122e-05/0.144, allocations: 28.78 kB / 0.649 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.144, allocations: 4 kB / 0.649 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.1449, allocations: 1.414 MB / 0.6503 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1449, allocations: 8 kB / 0.6504 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1452, allocations: 317.1 kB / 0.6507 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.1454, allocations: 120.8 kB / 0.6508 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1455, allocations: 0 / 0.6508 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1456, allocations: 19.97 kB / 0.6508 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1457, allocations: 15.92 kB / 0.6508 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1457, allocations: 4 kB / 0.6508 GB, free: 208 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1458, allocations: 190 kB / 0.651 GB, free: 16 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 0 / 0.651 GB, free: 16 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1462, allocations: 79.8 kB / 0.6511 GB, free: 15.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/0.1468, allocations: 0.8545 MB / 0.6519 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1472, allocations: 273.5 kB / 0.6522 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/0.1473, allocations: 0 / 0.6522 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1475, allocations: 182.6 kB / 0.6523 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.148, allocations: 64.94 kB / 0.6524 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.1506, allocations: 2.711 MB / 0.655 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.151, allocations: 0.7909 MB / 0.6558 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.1511, allocations: 42.27 kB / 0.6559 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1512, allocations: 83.41 kB / 0.6559 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1512, allocations: 0 / 0.6559 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.1753, allocations: 5.385 MB / 0.6612 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/9.15, allocations: 14.5 kB / 0.6612 GB, free: 5.391 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)