Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0007523/0.0007522, allocations: 95.33 kB / 15.68 MB, free: 488 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.0007525/0.0007525, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.087/1.087, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5605/0.5605, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 9.719 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005245/0.1146, allocations: 5.707 MB / 0.5623 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1177, allocations: 2.878 MB / 0.5651 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1179, allocations: 23.81 kB / 0.5651 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1181, allocations: 123.1 kB / 0.5653 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.1187, allocations: 414.7 kB / 0.5656 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.1192, allocations: 329.7 kB / 0.566 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.1199, allocations: 0.7389 MB / 0.5667 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1211, allocations: 0.9171 MB / 0.5676 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1215, allocations: 354.7 kB / 0.5679 GB, free: 180 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.1219, allocations: 390.6 kB / 0.5683 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.122, allocations: 36 kB / 0.5683 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.1222, allocations: 147.7 kB / 0.5685 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1224, allocations: 251.2 kB / 0.5687 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1225, allocations: 173.3 kB / 0.5689 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.1232, allocations: 0.8651 MB / 0.5697 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1232, allocations: 0 / 0.5697 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1232, allocations: 0 / 0.5697 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1232, allocations: 0 / 0.5697 GB, free: 14.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00129/0.1245, allocations: 1.013 MB / 0.5707 GB, free: 13.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.1245, allocations: 8.031 kB / 0.5707 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1247, allocations: 122.5 kB / 0.5708 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1258, allocations: 218.7 kB / 0.571 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.1265, allocations: 0.5249 MB / 0.5716 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.1265, allocations: 53.3 kB / 0.5716 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.1266, allocations: 63.97 kB / 0.5717 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.1278, allocations: 1.085 MB / 0.5727 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1278, allocations: 7.938 kB / 0.5727 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.1279, allocations: 27.98 kB / 0.5728 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.128, allocations: 85.25 kB / 0.5728 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.129, allocations: 0.7426 MB / 0.5736 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.1333, allocations: 5.897 MB / 0.5793 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.1341, allocations: 0.5522 MB / 0.5799 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1342, allocations: 8.438 kB / 0.5799 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1342, allocations: 38.95 kB / 0.5799 GB, free: 3.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.343e-06/0.1342, allocations: 0 / 0.5799 GB, free: 3.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003123/0.1373, allocations: 1.988 MB / 0.5818 GB, free: 1.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1374, allocations: 55.84 kB / 0.5819 GB, free: 1.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.1379, allocations: 0.547 MB / 0.5824 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1379, allocations: 37.7 kB / 0.5825 GB, free: 500 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1381, allocations: 410.9 kB / 0.5829 GB, free: 80 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.176/0.3141, allocations: 166.4 kB / 0.583 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.3142, allocations: 13.53 kB / 0.583 GB, free: 33.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3143, allocations: 375.8 kB / 0.5834 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.3147, allocations: 274.8 kB / 0.5837 GB, free: 32.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.3151, allocations: 487.3 kB / 0.5841 GB, free: 32.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.3156, allocations: 347.1 kB / 0.5845 GB, free: 32.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3156, allocations: 2.094 kB / 0.5845 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001621/0.3172, allocations: 1.079 MB / 0.5855 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3173, allocations: 11.62 kB / 0.5855 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3173, allocations: 7.594 kB / 0.5855 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007596/0.318, allocations: 275.9 kB / 0.5858 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.3185, allocations: 128.2 kB / 0.5859 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.3228, allocations: 6.693 MB / 0.5924 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.3233, allocations: 43.66 kB / 0.5925 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.3234, allocations: 29.61 kB / 0.5925 GB, free: 26.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.3237, allocations: 249.3 kB / 0.5928 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.3237, allocations: 78.22 kB / 0.5928 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.325, allocations: 0.8836 MB / 0.5937 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3251, allocations: 5.375 kB / 0.5937 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3251, allocations: 7.078 kB / 0.5937 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3251, allocations: 3.516 kB / 0.5937 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.3272, allocations: 1.719 MB / 0.5954 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3272, allocations: 4.391 kB / 0.5954 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3275, allocations: 63.53 kB / 0.5954 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/0.3281, allocations: 272.6 kB / 0.5957 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3281, allocations: 11.62 kB / 0.5957 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.3323, allocations: 6.688 MB / 0.6023 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3324, allocations: 1.719 kB / 0.6023 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3336, allocations: 1.046 MB / 0.6033 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.3338, allocations: 191.8 kB / 0.6035 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.3339, allocations: 12.75 kB / 0.6035 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.3342, allocations: 33.66 kB / 0.6035 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.3343, allocations: 45.16 kB / 0.6035 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3343, allocations: 16.12 kB / 0.6036 GB, free: 18.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.3347, allocations: 379 kB / 0.6039 GB, free: 18.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 0.6039 GB, free: 18.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006649/0.3353, allocations: 224.7 kB / 0.6041 GB, free: 18.36 MB / 446.1 MB 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/0.3368, allocations: 2.024 MB / 0.6061 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3384, allocations: 1.264 MB / 0.6073 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3384, allocations: 0.9375 kB / 0.6073 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.3393, allocations: 0.8999 MB / 0.6082 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.34, allocations: 192.8 kB / 0.6084 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.3452, allocations: 8.891 MB / 0.6171 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.3456, allocations: 1.022 MB / 0.6181 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.346, allocations: 126.5 kB / 0.6182 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3462, allocations: 245.9 kB / 0.6184 GB, free: 7.527 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3462, allocations: 0 / 0.6184 GB, free: 7.527 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.292/2.639, allocations: 16.21 MB / 0.6343 GB, free: 14.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/2.639, allocations: 203.4 kB / 0.6345 GB, free: 14.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/5.091, allocations: 0 / 0.6345 GB, free: 14.26 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: