Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001354/0.001354, allocations: 101.6 kB / 15.98 MB, free: 5.848 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.001348/0.001348, allocations: 191.8 kB / 16.9 MB, free: 5.73 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.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6812/0.6812, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 76.18 MB / 0.556 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.00546/0.3557, allocations: 4.367 MB / 0.5603 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3583, allocations: 1.84 MB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.3585, allocations: 10.5 kB / 0.5621 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.36, allocations: 0.5618 MB / 0.5626 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.3606, allocations: 240 kB / 0.5629 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.3612, allocations: 237.5 kB / 0.5631 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.3618, allocations: 0.6069 MB / 0.5637 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.3626, allocations: 0.5145 MB / 0.5642 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.3629, allocations: 250.6 kB / 0.5644 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.3633, allocations: 285 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.3634, allocations: 37.06 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.3639, allocations: 253.1 kB / 0.565 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3641, allocations: 154.6 kB / 0.5651 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3643, allocations: 219.3 kB / 0.5653 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.365, allocations: 0.616 MB / 0.5659 GB, free: 30.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.365, allocations: 3.938 kB / 0.5659 GB, free: 30.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.365, allocations: 0.9688 kB / 0.5659 GB, free: 30.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.365, allocations: 0 / 0.5659 GB, free: 30.22 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001176/0.3662, allocations: 0.7272 MB / 0.5667 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3663, allocations: 10.03 kB / 0.5667 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.498e-05/0.3664, allocations: 78.69 kB / 0.5667 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.3673, allocations: 148.6 kB / 0.5669 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3678, allocations: 326.4 kB / 0.5672 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3678, allocations: 22.88 kB / 0.5672 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.3679, allocations: 31.88 kB / 0.5672 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.3687, allocations: 0.5331 MB / 0.5678 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3687, allocations: 6.188 kB / 0.5678 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.3688, allocations: 16.19 kB / 0.5678 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.3689, allocations: 33 kB / 0.5678 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.3695, allocations: 388.4 kB / 0.5682 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3718, allocations: 2.405 MB / 0.5705 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.3724, allocations: 263.9 kB / 0.5708 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3725, allocations: 114.5 kB / 0.5709 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3726, allocations: 3.719 kB / 0.5709 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3726, allocations: 41.48 kB / 0.5709 GB, free: 26.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.3726, allocations: 2.844 kB / 0.5709 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002144/0.3747, allocations: 1.119 MB / 0.572 GB, free: 25.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3748, allocations: 55.78 kB / 0.5721 GB, free: 25.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3751, allocations: 306.7 kB / 0.5724 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3752, allocations: 26.92 kB / 0.5724 GB, free: 25.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3753, allocations: 232.3 kB / 0.5726 GB, free: 25.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.3754, allocations: 84.92 kB / 0.5727 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3755, allocations: 64.34 kB / 0.5728 GB, free: 25.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3756, allocations: 338.4 kB / 0.5731 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3758, allocations: 100.3 kB / 0.5732 GB, free: 24.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.376, allocations: 190.6 kB / 0.5734 GB, free: 24.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3764, allocations: 318.2 kB / 0.5737 GB, free: 24.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3764, allocations: 1.375 kB / 0.5737 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007375/0.3772, allocations: 451.7 kB / 0.5741 GB, free: 24.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3772, allocations: 5.5 kB / 0.5741 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3772, allocations: 3.547 kB / 0.5741 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.3776, allocations: 95.17 kB / 0.5742 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.3779, allocations: 65.83 kB / 0.5743 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.3803, allocations: 4.395 MB / 0.5786 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3805, allocations: 12.39 kB / 0.5786 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3806, allocations: 10.41 kB / 0.5786 GB, free: 20.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.3807, allocations: 179.7 kB / 0.5788 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3808, allocations: 40.5 kB / 0.5788 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.3809, allocations: 37.72 kB / 0.5788 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3809, allocations: 2.781 kB / 0.5788 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3809, allocations: 1.156 kB / 0.5788 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3809, allocations: 1.266 kB / 0.5788 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.3813, allocations: 397 kB / 0.5792 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3813, allocations: 5.312 kB / 0.5792 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3815, allocations: 44.14 kB / 0.5793 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.3818, allocations: 94.08 kB / 0.5793 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3818, allocations: 5.281 kB / 0.5794 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.384, allocations: 4.383 MB / 0.5836 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3841, allocations: 4.641 kB / 0.5836 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.3848, allocations: 0.5507 MB / 0.5842 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3849, allocations: 129.1 kB / 0.5843 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.385, allocations: 1.281 kB / 0.5843 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.3852, allocations: 12.5 kB / 0.5843 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3852, allocations: 18.03 kB / 0.5843 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3853, allocations: 9.156 kB / 0.5843 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3854, allocations: 217 kB / 0.5845 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3855, allocations: 3.938 kB / 0.5845 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000467/0.3859, allocations: 95.28 kB / 0.5846 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.0009133/0.3868, allocations: 1.102 MB / 0.5857 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007747/0.3876, allocations: 0.6228 MB / 0.5863 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3876, allocations: 0.7969 kB / 0.5863 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.3881, allocations: 480.7 kB / 0.5868 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3886, allocations: 84.66 kB / 0.5869 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.3925, allocations: 3.53 MB / 0.5903 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3928, allocations: 0.8347 MB / 0.5911 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.3931, allocations: 55.58 kB / 0.5912 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3932, allocations: 116.7 kB / 0.5913 GB, free: 9.672 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3932, allocations: 1.375 kB / 0.5913 GB, free: 9.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.421, allocations: 7.577 MB / 0.5987 GB, free: 7.023 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.4212, allocations: 220.3 kB / 0.5989 GB, free: 6.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.244, allocations: 0 / 0.5989 GB, free: 6.762 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)