Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.001177/0.001177, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001192/0.001192, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.264/1.264, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.385, allocations: 76.17 MB / 0.556 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004304/0.3893, allocations: 3.107 MB / 0.5591 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3912, allocations: 1.307 MB / 0.5603 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3913, allocations: 8.375 kB / 0.5603 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.3923, allocations: 316.3 kB / 0.5606 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.3926, allocations: 132.6 kB / 0.5608 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.393, allocations: 128.2 kB / 0.5609 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.3934, allocations: 302.1 kB / 0.5612 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.3939, allocations: 255 kB / 0.5614 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.3941, allocations: 133.4 kB / 0.5615 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.3944, allocations: 141.2 kB / 0.5617 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.3944, allocations: 18.97 kB / 0.5617 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.3947, allocations: 169.5 kB / 0.5619 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.3948, allocations: 76.38 kB / 0.5619 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3949, allocations: 113.2 kB / 0.562 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.3953, allocations: 349.3 kB / 0.5624 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3954, allocations: 0 / 0.5624 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3954, allocations: 1.062 kB / 0.5624 GB, free: 32.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3954, allocations: 1.219 kB / 0.5624 GB, free: 32.42 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007578/0.3961, allocations: 0.5081 MB / 0.5629 GB, free: 31.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3962, allocations: 13.53 kB / 0.5629 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.3963, allocations: 59.8 kB / 0.5629 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/0.3968, allocations: 80.56 kB / 0.563 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3971, allocations: 239.1 kB / 0.5632 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3971, allocations: 20.09 kB / 0.5633 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3971, allocations: 15.78 kB / 0.5633 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.3976, allocations: 310 kB / 0.5636 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3976, allocations: 0.5625 kB / 0.5636 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3977, allocations: 11.16 kB / 0.5636 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.3977, allocations: 17.17 kB / 0.5636 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.398, allocations: 193.9 kB / 0.5638 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3993, allocations: 1.471 MB / 0.5652 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3995, allocations: 180 kB / 0.5654 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.3996, allocations: 34.97 kB / 0.5654 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3996, allocations: 0.9375 kB / 0.5654 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3996, allocations: 34.81 kB / 0.5655 GB, free: 29.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3996, allocations: 0.5312 kB / 0.5655 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004425/0.4001, allocations: 227.7 kB / 0.5657 GB, free: 29.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.4001, allocations: 52.56 kB / 0.5657 GB, free: 29.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.4003, allocations: 197.6 kB / 0.5659 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4003, allocations: 26.83 kB / 0.5659 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.4004, allocations: 172.2 kB / 0.5661 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.4004, allocations: 32.97 kB / 0.5661 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.4005, allocations: 32.11 kB / 0.5662 GB, free: 29.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.4005, allocations: 332.2 kB / 0.5665 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.4006, allocations: 35.77 kB / 0.5665 GB, free: 28.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.4007, allocations: 96.72 kB / 0.5666 GB, free: 28.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4008, allocations: 153.7 kB / 0.5668 GB, free: 28.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4009, allocations: 0.9688 kB / 0.5668 GB, free: 28.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002738/0.4011, allocations: 189.4 kB / 0.5669 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4012, allocations: 6.844 kB / 0.5669 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4012, allocations: 4.469 kB / 0.567 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.4013, allocations: 28.23 kB / 0.567 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4014, allocations: 28.52 kB / 0.567 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/0.4022, allocations: 1.419 MB / 0.5684 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4024, allocations: 18.78 kB / 0.5684 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4024, allocations: 5.938 kB / 0.5684 GB, free: 27.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4025, allocations: 149.7 kB / 0.5686 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.4025, allocations: 14.22 kB / 0.5686 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.4026, allocations: 20.33 kB / 0.5686 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.4026, allocations: 1.812 kB / 0.5686 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4026, allocations: 1.438 kB / 0.5686 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4026, allocations: 2.109 kB / 0.5686 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.4031, allocations: 443.9 kB / 0.569 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4031, allocations: 6.469 kB / 0.569 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.4031, allocations: 8.234 kB / 0.569 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.4032, allocations: 31.86 kB / 0.5691 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4032, allocations: 1.156 kB / 0.5691 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006753/0.4039, allocations: 1.421 MB / 0.5705 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4039, allocations: 5.156 kB / 0.5705 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4041, allocations: 209.1 kB / 0.5707 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.4042, allocations: 97.7 kB / 0.5708 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.4042, allocations: 3.75 kB / 0.5708 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4043, allocations: 7.797 kB / 0.5708 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4043, allocations: 4.016 kB / 0.5708 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4043, allocations: 3.719 kB / 0.5708 GB, free: 24.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4045, allocations: 144.2 kB / 0.5709 GB, free: 24.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4045, allocations: 0 / 0.5709 GB, free: 24.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.4048, allocations: 52.72 kB / 0.571 GB, free: 24.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003643/0.4052, allocations: 0.7421 MB / 0.5717 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.4055, allocations: 223.1 kB / 0.5719 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4055, allocations: 1.625 kB / 0.5719 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4057, allocations: 149.8 kB / 0.572 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4061, allocations: 37.41 kB / 0.5721 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.408, allocations: 2.107 MB / 0.5741 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.4082, allocations: 0.7475 MB / 0.5749 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.4083, allocations: 26.48 kB / 0.5749 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.4084, allocations: 56.22 kB / 0.5749 GB, free: 21.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4084, allocations: 0 / 0.5749 GB, free: 21.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4281, allocations: 3.56 MB / 0.5784 GB, free: 21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.4282, allocations: 222.8 kB / 0.5786 GB, free: 20.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.167, allocations: 1.422 kB / 0.5786 GB, free: 20.74 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)