Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",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.001184/0.001184, allocations: 106.3 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.001258/0.001259, 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6913/0.6913, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.39 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 77.93 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005115/0.1182, allocations: 4.087 MB / 0.648 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.1206, allocations: 1.582 MB / 0.6496 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.1209, allocations: 15.88 kB / 0.6496 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.1224, allocations: 0.5864 MB / 0.6502 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.1229, allocations: 230.9 kB / 0.6504 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.1234, allocations: 219.5 kB / 0.6506 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.124, allocations: 0.5374 MB / 0.6511 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.1247, allocations: 481.1 kB / 0.6516 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.125, allocations: 231.3 kB / 0.6518 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.1254, allocations: 247.2 kB / 0.652 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.1255, allocations: 32 kB / 0.6521 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.1258, allocations: 167.7 kB / 0.6522 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1259, allocations: 155.6 kB / 0.6524 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1261, allocations: 191.1 kB / 0.6526 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.1267, allocations: 0.5182 MB / 0.6531 GB, free: 308 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1267, allocations: 4 kB / 0.6531 GB, free: 304 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1267, allocations: 0 / 0.6531 GB, free: 304 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1267, allocations: 0 / 0.6531 GB, free: 304 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001157/0.1279, allocations: 0.6826 MB / 0.6537 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1279, allocations: 8.625 kB / 0.6537 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.128, allocations: 86.69 kB / 0.6538 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006943/0.1287, allocations: 100.4 kB / 0.6539 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.1291, allocations: 311.5 kB / 0.6542 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.1292, allocations: 59.25 kB / 0.6543 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.1292, allocations: 36.38 kB / 0.6543 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.13, allocations: 0.5007 MB / 0.6548 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.13, allocations: 0 / 0.6548 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.1301, allocations: 16 kB / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.1301, allocations: 32.98 kB / 0.6548 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.1307, allocations: 383.6 kB / 0.6552 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.1329, allocations: 2.208 MB / 0.6574 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.1336, allocations: 258.6 kB / 0.6576 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.1339, allocations: 152.8 kB / 0.6578 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1339, allocations: 3.984 kB / 0.6578 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.134, allocations: 38.56 kB / 0.6578 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/0.134, allocations: 3.984 kB / 0.6578 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001384/0.1354, allocations: 0.5679 MB / 0.6584 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1354, allocations: 51.41 kB / 0.6584 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1356, allocations: 228.9 kB / 0.6586 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1357, allocations: 25.7 kB / 0.6586 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1358, allocations: 215.7 kB / 0.6588 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1358, allocations: 70.94 kB / 0.6589 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.1359, allocations: 57.7 kB / 0.659 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.136, allocations: 330.8 kB / 0.6593 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1362, allocations: 92.8 kB / 0.6594 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1365, allocations: 183.1 kB / 0.6595 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1369, allocations: 267.3 kB / 0.6598 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1369, allocations: 7.938 kB / 0.6598 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007905/0.1377, allocations: 380.4 kB / 0.6602 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1378, allocations: 9.719 kB / 0.6602 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1378, allocations: 0 / 0.6602 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.1382, allocations: 109.7 kB / 0.6603 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.1384, allocations: 59.84 kB / 0.6603 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1413, allocations: 3.035 MB / 0.6633 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1415, allocations: 35.67 kB / 0.6633 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1415, allocations: 12 kB / 0.6634 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002862/0.1418, allocations: 224.1 kB / 0.6636 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002372/0.1421, allocations: 171.1 kB / 0.6637 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000412/0.1425, allocations: 275.4 kB / 0.664 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.1425, allocations: 0 / 0.664 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000718/0.1432, allocations: 353.8 kB / 0.6643 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.1432, allocations: 8 kB / 0.6643 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1432, allocations: 0 / 0.6643 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.1435, allocations: 85.06 kB / 0.6644 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.1438, allocations: 55.91 kB / 0.6645 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1455, allocations: 1.621 MB / 0.6661 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.1458, allocations: 31.77 kB / 0.6661 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1458, allocations: 8 kB / 0.6661 GB, free: 1.867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1459, allocations: 201.1 kB / 0.6663 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.146, allocations: 23.72 kB / 0.6663 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.1461, allocations: 34.11 kB / 0.6663 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1461, allocations: 4 kB / 0.6663 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1461, allocations: 3.938 kB / 0.6663 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1461, allocations: 0 / 0.6663 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.1473, allocations: 0.8305 MB / 0.6672 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1474, allocations: 0 / 0.6672 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1475, allocations: 27.98 kB / 0.6672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.1479, allocations: 105.6 kB / 0.6673 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1479, allocations: 8 kB / 0.6673 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.1505, allocations: 3.019 MB / 0.6702 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1505, allocations: 8.125 kB / 0.6703 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1513, allocations: 425 kB / 0.6707 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1514, allocations: 116.8 kB / 0.6708 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1514, allocations: 3.984 kB / 0.6708 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1516, allocations: 12 kB / 0.6708 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.1517, allocations: 19.97 kB / 0.6708 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1517, allocations: 4 kB / 0.6708 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001354/0.1518, allocations: 164.5 kB / 0.671 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1518, allocations: 0 / 0.671 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005471/0.1524, allocations: 171.4 kB / 0.6711 GB, free: 12.3 MB / 0.5137 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009531/0.1533, allocations: 0.9514 MB / 0.6721 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.1551, allocations: 0.7605 MB / 0.6728 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1551, allocations: 0 / 0.6728 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.1559, allocations: 375.7 kB / 0.6732 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1563, allocations: 54.56 kB / 0.6732 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.1599, allocations: 2.849 MB / 0.676 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1602, allocations: 0.8145 MB / 0.6768 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.1604, allocations: 70.22 kB / 0.6769 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1605, allocations: 87.41 kB / 0.6769 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1605, allocations: 0 / 0.6769 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1881, allocations: 7.339 MB / 0.6841 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.982/10.17, allocations: 12.14 kB / 0.6841 GB, free: 14.87 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)