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.0008131/0.0008131, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009134/0.0009134, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.25/1.25, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.624/0.624, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 9 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006446/0.1355, allocations: 5.971 MB / 0.5627 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.1396, allocations: 2.866 MB / 0.5655 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.1401, allocations: 27.81 kB / 0.5656 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.1406, allocations: 134.8 kB / 0.5657 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.1417, allocations: 413.7 kB / 0.5661 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.1425, allocations: 320.7 kB / 0.5664 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1439, allocations: 1.322 MB / 0.5677 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.1455, allocations: 0.9284 MB / 0.5686 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006453/0.1462, allocations: 386.4 kB / 0.569 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.1469, allocations: 486.2 kB / 0.5694 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.1471, allocations: 36 kB / 0.5695 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.1476, allocations: 191.8 kB / 0.5696 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.1479, allocations: 267.2 kB / 0.5699 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.1481, allocations: 181.3 kB / 0.5701 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.149, allocations: 0.9001 MB / 0.5709 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.149, allocations: 8 kB / 0.571 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.149, allocations: 4 kB / 0.571 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.1491, allocations: 0 / 0.571 GB, free: 13.21 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.001576/0.1506, allocations: 1.005 MB / 0.5719 GB, free: 12.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1507, allocations: 12.03 kB / 0.572 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.1508, allocations: 122.5 kB / 0.5721 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1521, allocations: 238.6 kB / 0.5723 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.1528, allocations: 0.5249 MB / 0.5728 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.1529, allocations: 49.25 kB / 0.5729 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.153, allocations: 63.98 kB / 0.5729 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1543, allocations: 1.077 MB / 0.574 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.1544, allocations: 11.84 kB / 0.574 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.1544, allocations: 35.98 kB / 0.574 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.1546, allocations: 81.25 kB / 0.5741 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1556, allocations: 0.7504 MB / 0.5748 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.1601, allocations: 5.89 MB / 0.5806 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.161, allocations: 0.5522 MB / 0.5811 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1614, allocations: 326 kB / 0.5814 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1614, allocations: 8.375 kB / 0.5814 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1615, allocations: 46.89 kB / 0.5815 GB, free: 1.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.1615, allocations: 0 / 0.5815 GB, free: 1.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.2451/0.4066, allocations: 1.983 MB / 0.5834 GB, free: 32.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4066, allocations: 57.45 kB / 0.5835 GB, free: 32.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.4074, allocations: 0.5468 MB / 0.584 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.4074, allocations: 35.2 kB / 0.584 GB, free: 32.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.4077, allocations: 412.1 kB / 0.5844 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4078, allocations: 177.3 kB / 0.5846 GB, free: 32.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.4079, allocations: 12.5 kB / 0.5846 GB, free: 32.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.408, allocations: 379.7 kB / 0.585 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.4084, allocations: 273.7 kB / 0.5852 GB, free: 32.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.4089, allocations: 492.6 kB / 0.5857 GB, free: 31.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.4095, allocations: 346.4 kB / 0.586 GB, free: 31.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4095, allocations: 2.125 kB / 0.586 GB, free: 31.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001806/0.4113, allocations: 1.075 MB / 0.5871 GB, free: 31.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4113, allocations: 11.69 kB / 0.5871 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4113, allocations: 6.969 kB / 0.5871 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/0.4121, allocations: 281.6 kB / 0.5874 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.4126, allocations: 127.8 kB / 0.5875 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.4176, allocations: 6.583 MB / 0.5939 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.4182, allocations: 43.77 kB / 0.594 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.4182, allocations: 28.77 kB / 0.594 GB, free: 25.82 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.0003166/0.4186, allocations: 251.2 kB / 0.5942 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.4187, allocations: 71.55 kB / 0.5943 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.4202, allocations: 0.8871 MB / 0.5952 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.4202, allocations: 4.531 kB / 0.5952 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4202, allocations: 4.562 kB / 0.5952 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4202, allocations: 2.484 kB / 0.5952 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.4227, allocations: 1.724 MB / 0.5969 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4227, allocations: 6.266 kB / 0.5969 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.4229, allocations: 61.05 kB / 0.5969 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006623/0.4236, allocations: 266.1 kB / 0.5972 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4237, allocations: 7.75 kB / 0.5972 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/0.4284, allocations: 6.586 MB / 0.6036 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4284, allocations: 9.984 kB / 0.6036 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.4299, allocations: 0.9756 MB / 0.6046 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4301, allocations: 202.2 kB / 0.6048 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.4302, allocations: 8.391 kB / 0.6048 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4305, allocations: 30.12 kB / 0.6048 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4306, allocations: 49.91 kB / 0.6049 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4307, allocations: 13.88 kB / 0.6049 GB, free: 17.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.4311, allocations: 376.6 kB / 0.6052 GB, free: 17.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4311, allocations: 0.5 kB / 0.6052 GB, free: 17.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008689/0.432, allocations: 224.6 kB / 0.6054 GB, free: 17.6 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.001638/0.4336, allocations: 1.54 MB / 0.607 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.4354, allocations: 1.265 MB / 0.6082 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4354, allocations: 0 / 0.6082 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4364, allocations: 0.9031 MB / 0.6091 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.4373, allocations: 199.5 kB / 0.6093 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.4429, allocations: 4.377 MB / 0.6135 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.4434, allocations: 1.011 MB / 0.6145 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.4439, allocations: 117.6 kB / 0.6146 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.4442, allocations: 246.5 kB / 0.6149 GB, free: 11.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4442, allocations: 3.938 kB / 0.6149 GB, free: 11.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.4721, allocations: 16.22 MB / 0.6307 GB, free: 2.602 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.4722, allocations: 204.1 kB / 0.6309 GB, free: 2.367 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.418, allocations: 3.938 kB / 0.6309 GB, free: 2.363 MB / 446.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: