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.005085/0.005085, allocations: 100.7 kB / 15.87 MB, free: 6.312 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.001268/0.001268, allocations: 193.9 kB / 16.79 MB, free: 6.242 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.209/1.209, allocations: 222.9 MB / 240.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6569/0.6569, allocations: 115.3 MB / 405.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 493 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 76.17 MB / 0.5558 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003793/0.3125, allocations: 3.107 MB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3141, allocations: 1.321 MB / 0.5601 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.3142, allocations: 4.625 kB / 0.5601 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007904/0.315, allocations: 321.4 kB / 0.5605 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.3153, allocations: 134.4 kB / 0.5606 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3156, allocations: 123.1 kB / 0.5607 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.3159, allocations: 430.4 kB / 0.5611 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.3162, allocations: 163.2 kB / 0.5613 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3163, allocations: 106.5 kB / 0.5614 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.3166, allocations: 147 kB / 0.5615 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.3166, allocations: 13.91 kB / 0.5615 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.3169, allocations: 207.2 kB / 0.5617 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.317, allocations: 78.55 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3171, allocations: 107.6 kB / 0.5619 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.3175, allocations: 337.7 kB / 0.5622 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3175, allocations: 0.5625 kB / 0.5622 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3175, allocations: 0 / 0.5622 GB, free: 32.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3175, allocations: 0.5312 kB / 0.5622 GB, free: 32.51 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.000636/0.3182, allocations: 0.5165 MB / 0.5627 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3182, allocations: 14.67 kB / 0.5627 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.3183, allocations: 54.14 kB / 0.5628 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.3188, allocations: 77.17 kB / 0.5629 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.319, allocations: 242.2 kB / 0.5631 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.319, allocations: 17.34 kB / 0.5631 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3191, allocations: 20.31 kB / 0.5631 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.3195, allocations: 301.3 kB / 0.5634 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3195, allocations: 3.938 kB / 0.5634 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3195, allocations: 11.92 kB / 0.5634 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.3195, allocations: 24.86 kB / 0.5635 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.3198, allocations: 193.5 kB / 0.5636 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3209, allocations: 1.46 MB / 0.5651 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.3211, allocations: 174.4 kB / 0.5652 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3212, allocations: 37.03 kB / 0.5653 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3212, allocations: 1.125 kB / 0.5653 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.3212, allocations: 37.08 kB / 0.5653 GB, free: 29.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.3212, allocations: 5.172 kB / 0.5653 GB, free: 29.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.3216, allocations: 228.7 kB / 0.5655 GB, free: 29.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3217, allocations: 57.25 kB / 0.5656 GB, free: 29.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3218, allocations: 196.5 kB / 0.5658 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3218, allocations: 30.45 kB / 0.5658 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3219, allocations: 171.7 kB / 0.566 GB, free: 29.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.3219, allocations: 21.77 kB / 0.566 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.322, allocations: 40.75 kB / 0.566 GB, free: 29.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.322, allocations: 330.8 kB / 0.5663 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.3221, allocations: 36.14 kB / 0.5664 GB, free: 29.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.3222, allocations: 102 kB / 0.5665 GB, free: 28.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3223, allocations: 144.8 kB / 0.5666 GB, free: 28.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3223, allocations: 1.188 kB / 0.5666 GB, free: 28.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002621/0.3226, allocations: 190.2 kB / 0.5668 GB, free: 28.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3226, allocations: 6.469 kB / 0.5668 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3226, allocations: 3.469 kB / 0.5668 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.3228, allocations: 29.95 kB / 0.5668 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3229, allocations: 30.45 kB / 0.5669 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006467/0.3235, allocations: 1.316 MB / 0.5681 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3236, allocations: 21.28 kB / 0.5682 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3237, allocations: 5.938 kB / 0.5682 GB, free: 27.35 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 9.201e-05/0.3238, allocations: 149.4 kB / 0.5683 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.3238, allocations: 20.25 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.3238, allocations: 14.95 kB / 0.5683 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3238, allocations: 5.719 kB / 0.5683 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3238, allocations: 1.156 kB / 0.5684 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3239, allocations: 1.781 kB / 0.5684 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.3242, allocations: 450.7 kB / 0.5688 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3243, allocations: 0 / 0.5688 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.3243, allocations: 7.266 kB / 0.5688 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.839e-05/0.3244, allocations: 24.94 kB / 0.5688 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3244, allocations: 4.609 kB / 0.5688 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000569/0.325, allocations: 1.317 MB / 0.5701 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.325, allocations: 9.75 kB / 0.5701 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3252, allocations: 207.5 kB / 0.5703 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.3252, allocations: 99.58 kB / 0.5704 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3252, allocations: 5.062 kB / 0.5704 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3254, allocations: 10.19 kB / 0.5704 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.3254, allocations: 4.125 kB / 0.5704 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3254, allocations: 2.188 kB / 0.5704 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.3255, allocations: 142.2 kB / 0.5706 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3255, allocations: 1.125 kB / 0.5706 GB, free: 25.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.3258, allocations: 57 kB / 0.5706 GB, free: 25.1 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.000315/0.3261, allocations: 0.7443 MB / 0.5713 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.3264, allocations: 207.1 kB / 0.5715 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3264, allocations: 0 / 0.5715 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3266, allocations: 150 kB / 0.5717 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3269, allocations: 32.53 kB / 0.5717 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3286, allocations: 2.115 MB / 0.5738 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3288, allocations: 0.7491 MB / 0.5745 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.999e-05/0.3289, allocations: 25.05 kB / 0.5745 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.3289, allocations: 50.34 kB / 0.5746 GB, free: 21.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.329, allocations: 0.875 kB / 0.5746 GB, free: 21.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.3428, allocations: 3.464 MB / 0.578 GB, free: 21.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.343, allocations: 218.5 kB / 0.5782 GB, free: 21.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.98, allocations: 0 / 0.5782 GB, free: 21.04 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)