Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.0008571/0.0008572, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 184.7 kB / 16.92 MB, free: 6.887 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.244/1.244, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6431/0.6431, allocations: 115.5 MB / 407.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8.188 kB / 496 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 77.54 MB / 0.5601 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002457/0.1173, allocations: 2.326 MB / 0.5623 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1189, allocations: 1.282 MB / 0.5636 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.119, allocations: 0 / 0.5636 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1191, allocations: 27.78 kB / 0.5636 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1195, allocations: 159.4 kB / 0.5638 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1198, allocations: 155 kB / 0.5639 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1201, allocations: 375 kB / 0.5643 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.1205, allocations: 313.8 kB / 0.5646 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1207, allocations: 87.64 kB / 0.5646 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1209, allocations: 119.6 kB / 0.5648 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1209, allocations: 8 kB / 0.5648 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1211, allocations: 187.6 kB / 0.5649 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1212, allocations: 59.81 kB / 0.565 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.1213, allocations: 105.2 kB / 0.5651 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1216, allocations: 291.2 kB / 0.5654 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1216, allocations: 0 / 0.5654 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1216, allocations: 0 / 0.5654 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.1216, allocations: 7.938 kB / 0.5654 GB, free: 3.453 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005875/0.1222, allocations: 471 kB / 0.5658 GB, free: 2.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1222, allocations: 8.031 kB / 0.5658 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.1223, allocations: 50.73 kB / 0.5659 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.1227, allocations: 68.67 kB / 0.566 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1229, allocations: 247.3 kB / 0.5662 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1229, allocations: 8.656 kB / 0.5662 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.123, allocations: 20.36 kB / 0.5662 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.1234, allocations: 316.2 kB / 0.5665 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1235, allocations: 8 kB / 0.5665 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1235, allocations: 4 kB / 0.5665 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.1235, allocations: 24.27 kB / 0.5666 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.124, allocations: 268.6 kB / 0.5668 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.1253, allocations: 1.518 MB / 0.5683 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.1258, allocations: 257.1 kB / 0.5685 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.126, allocations: 133.6 kB / 0.5687 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.126, allocations: 8 kB / 0.5687 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.126, allocations: 38.5 kB / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.1261, allocations: 0 / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006873/0.1267, allocations: 353.5 kB / 0.5691 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1268, allocations: 85.05 kB / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1269, allocations: 170.6 kB / 0.5693 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.127, allocations: 29.7 kB / 0.5693 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.127, allocations: 140.1 kB / 0.5695 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1271, allocations: 51.2 kB / 0.5695 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1271, allocations: 33.73 kB / 0.5695 GB, free: 14.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1272, allocations: 326.8 kB / 0.5699 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1274, allocations: 103.9 kB / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1276, allocations: 167.6 kB / 0.5701 GB, free: 14.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.1281, allocations: 292.5 kB / 0.5704 GB, free: 13.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1281, allocations: 0 / 0.5704 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005108/0.1286, allocations: 325.1 kB / 0.5707 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.1287, allocations: 135.2 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1287, allocations: 0 / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1287, allocations: 4 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.129, allocations: 71.83 kB / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.129, allocations: 0 / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1292, allocations: 39.8 kB / 0.5709 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1292, allocations: 8 kB / 0.5709 GB, free: 13.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-06/0.1292, allocations: 7.938 kB / 0.571 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004215/0.1296, allocations: 248.6 kB / 0.5712 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1296, allocations: 4 kB / 0.5712 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.1296, allocations: 4 kB / 0.5712 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1298, allocations: 55.89 kB / 0.5713 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1299, allocations: 4.219 kB / 0.5713 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.13, allocations: 35.77 kB / 0.5713 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.13, allocations: 8 kB / 0.5713 GB, free: 12.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.1302, allocations: 221 kB / 0.5715 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1302, allocations: 19.8 kB / 0.5715 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.1307, allocations: 280.1 kB / 0.5718 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1307, allocations: 0 / 0.5718 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1307, allocations: 4 kB / 0.5718 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1308, allocations: 3.984 kB / 0.5718 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.1317, allocations: 0.685 MB / 0.5725 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1317, allocations: 0 / 0.5725 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1319, allocations: 51.89 kB / 0.5725 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1319, allocations: 8.125 kB / 0.5725 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1319, allocations: 7.984 kB / 0.5725 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1319, allocations: 3.938 kB / 0.5725 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1319, allocations: 4 kB / 0.5725 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.1324, allocations: 463.9 kB / 0.573 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.1325, allocations: 116.8 kB / 0.5731 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1325, allocations: 4 kB / 0.5731 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1327, allocations: 31.91 kB / 0.5731 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1328, allocations: 7.984 kB / 0.5731 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1328, allocations: 4 kB / 0.5731 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.004e-05/0.1329, allocations: 135.2 kB / 0.5733 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 0.5733 GB, free: 10.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000406/0.1333, allocations: 79.84 kB / 0.5733 GB, free: 10.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/0.134, allocations: 0.9959 MB / 0.5743 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006356/0.1346, allocations: 381.9 kB / 0.5747 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1347, allocations: 4 kB / 0.5747 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1349, allocations: 128 kB / 0.5748 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1353, allocations: 37.69 kB / 0.5748 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1378, allocations: 2.551 MB / 0.5773 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1381, allocations: 0.7519 MB / 0.5781 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.1382, allocations: 73.48 kB / 0.5781 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.1384, allocations: 51.41 kB / 0.5782 GB, free: 5.555 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1384, allocations: 0 / 0.5782 GB, free: 5.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.346/2.484, allocations: 3.796 MB / 0.5819 GB, free: 1.922 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/2.485, allocations: 210.9 kB / 0.5821 GB, free: 1.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/4.656, allocations: 8 kB / 0.5821 GB, free: 1.66 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)