Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.0006801/0.0006801, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004167/0.004167, allocations: 171.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.514/1.514, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004476, allocations: 13.06 kB / 0.6744 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004759/0.1677, allocations: 5.064 MB / 0.7929 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.1708, allocations: 2.612 MB / 0.7955 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.171, allocations: 23.81 kB / 0.7955 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1712, allocations: 99.14 kB / 0.7956 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.1719, allocations: 386.1 kB / 0.796 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.1725, allocations: 366.3 kB / 0.7963 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.1734, allocations: 1.236 MB / 0.7975 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.1744, allocations: 0.7831 MB / 0.7983 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1747, allocations: 314.6 kB / 0.7986 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.1751, allocations: 390.4 kB / 0.799 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.1752, allocations: 24 kB / 0.799 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1757, allocations: 435.1 kB / 0.7994 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.1758, allocations: 219.3 kB / 0.7996 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.1761, allocations: 339.9 kB / 0.7999 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.1768, allocations: 0.9539 MB / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1768, allocations: 0 / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1768, allocations: 0 / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1769, allocations: 0 / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00109/0.1779, allocations: 0.853 MB / 0.8017 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.178, allocations: 12.03 kB / 0.8017 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.421e-05/0.1781, allocations: 102.7 kB / 0.8018 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.1793, allocations: 187.9 kB / 0.802 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.1798, allocations: 490.4 kB / 0.8025 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1799, allocations: 45.36 kB / 0.8025 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.18, allocations: 48.56 kB / 0.8026 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.181, allocations: 0.8278 MB / 0.8034 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.181, allocations: 15.94 kB / 0.8034 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1811, allocations: 23.98 kB / 0.8034 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.1812, allocations: 64.94 kB / 0.8035 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.182, allocations: 0.5735 MB / 0.804 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.1854, allocations: 4.593 MB / 0.8085 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1858, allocations: 291.3 kB / 0.8088 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.1861, allocations: 233.3 kB / 0.809 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1861, allocations: 4.281 kB / 0.809 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1861, allocations: 34.84 kB / 0.809 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.243e-06/0.1861, allocations: 4 kB / 0.809 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004706/0.1908, allocations: 2.631 MB / 0.8116 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1909, allocations: 55.41 kB / 0.8117 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.1912, allocations: 461.9 kB / 0.8121 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1913, allocations: 33.7 kB / 0.8121 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1915, allocations: 335.7 kB / 0.8125 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.1916, allocations: 149.9 kB / 0.8126 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1916, allocations: 45.7 kB / 0.8127 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1917, allocations: 362.8 kB / 0.813 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.192, allocations: 240.9 kB / 0.8132 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1924, allocations: 414.4 kB / 0.8136 GB, free: 376 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.1932, allocations: 0.674 MB / 0.8143 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1932, allocations: 0 / 0.8143 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001417/0.1946, allocations: 0.9168 MB / 0.8152 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1946, allocations: 8.656 kB / 0.8152 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1946, allocations: 8 kB / 0.8152 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.1953, allocations: 230.3 kB / 0.8154 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.1958, allocations: 119.8 kB / 0.8155 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.1997, allocations: 4.943 MB / 0.8204 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.2001, allocations: 35.97 kB / 0.8204 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.2001, allocations: 20 kB / 0.8204 GB, free: 8.918 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.2004, allocations: 232.4 kB / 0.8206 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.2004, allocations: 55.34 kB / 0.8207 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.2018, allocations: 0.774 MB / 0.8214 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2018, allocations: 7.938 kB / 0.8214 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2018, allocations: 4 kB / 0.8214 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2018, allocations: 3.984 kB / 0.8215 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2038, allocations: 1.494 MB / 0.8229 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2038, allocations: 4 kB / 0.8229 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2041, allocations: 67.88 kB / 0.823 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005893/0.2047, allocations: 202.8 kB / 0.8232 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.2048, allocations: 19.94 kB / 0.8232 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.2085, allocations: 4.876 MB / 0.828 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2085, allocations: 3.938 kB / 0.828 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.21, allocations: 1.135 MB / 0.8291 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.2102, allocations: 164.4 kB / 0.8292 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.2103, allocations: 12 kB / 0.8292 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.2105, allocations: 23.97 kB / 0.8293 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.2106, allocations: 43.89 kB / 0.8293 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2107, allocations: 12 kB / 0.8293 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000258/0.2109, allocations: 318.9 kB / 0.8296 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.2109, allocations: 0 / 0.8296 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005029/0.2114, allocations: 164 kB / 0.8298 GB, free: 14.74 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.2131, allocations: 1.692 MB / 0.8314 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2144, allocations: 0.993 MB / 0.8324 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2144, allocations: 3.938 kB / 0.8324 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007995/0.2152, allocations: 0.6914 MB / 0.8331 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.2161, allocations: 169.7 kB / 0.8332 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.2225, allocations: 5.965 MB / 0.8391 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.2229, allocations: 0.9494 MB / 0.84 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002989/0.2232, allocations: 113 kB / 0.8401 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.2235, allocations: 207.4 kB / 0.8403 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.2235, allocations: 0 / 0.8403 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.078/2.301, allocations: 13.27 MB / 0.8533 GB, free: 6.52 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/2.301, allocations: 229.9 kB / 0.8535 GB, free: 6.262 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/4.546, allocations: 3.938 kB / 0.8535 GB, free: 6.258 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)