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.0012/0.001201, allocations: 103 kB / 16.27 MB, free: 5.93 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.001147/0.001147, allocations: 191.7 kB / 17.2 MB, free: 5.574 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.249/1.249, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003889/0.2934, allocations: 3.069 MB / 0.5703 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.2951, allocations: 1.32 MB / 0.5716 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2953, allocations: 3.812 kB / 0.5716 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000859/0.2962, allocations: 331 kB / 0.5719 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2965, allocations: 147.5 kB / 0.572 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2968, allocations: 138.9 kB / 0.5722 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.2971, allocations: 309.5 kB / 0.5724 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.2974, allocations: 233.3 kB / 0.5727 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2976, allocations: 126.1 kB / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.2978, allocations: 137.5 kB / 0.5729 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2979, allocations: 20.03 kB / 0.5729 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.2981, allocations: 165.1 kB / 0.5731 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.2982, allocations: 83.86 kB / 0.5732 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.2983, allocations: 108.3 kB / 0.5733 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.2987, allocations: 337.3 kB / 0.5736 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2987, allocations: 0.6562 kB / 0.5736 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2987, allocations: 3.938 kB / 0.5736 GB, free: 28.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2987, allocations: 0 / 0.5736 GB, free: 28.77 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.0006807/0.2994, allocations: 0.5119 MB / 0.5741 GB, free: 28.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2994, allocations: 12.03 kB / 0.5741 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.2995, allocations: 58.39 kB / 0.5742 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.3001, allocations: 76.84 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3003, allocations: 238.5 kB / 0.5745 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3003, allocations: 17.95 kB / 0.5745 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3003, allocations: 17.59 kB / 0.5745 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3008, allocations: 309.1 kB / 0.5748 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3008, allocations: 3.938 kB / 0.5748 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3008, allocations: 6.344 kB / 0.5748 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.3008, allocations: 16.59 kB / 0.5748 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.3011, allocations: 195 kB / 0.575 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3023, allocations: 1.48 MB / 0.5765 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3025, allocations: 172.7 kB / 0.5766 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.3026, allocations: 32.31 kB / 0.5767 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3026, allocations: 2.484 kB / 0.5767 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.3026, allocations: 36.38 kB / 0.5767 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3026, allocations: 0.8125 kB / 0.5767 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004276/0.303, allocations: 220.4 kB / 0.5769 GB, free: 26.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3031, allocations: 53.39 kB / 0.577 GB, free: 26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.3032, allocations: 198.4 kB / 0.5771 GB, free: 25.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3033, allocations: 30.8 kB / 0.5772 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.3033, allocations: 169.1 kB / 0.5773 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.3034, allocations: 29.3 kB / 0.5774 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3034, allocations: 40.28 kB / 0.5774 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.3035, allocations: 326.9 kB / 0.5777 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3035, allocations: 35.94 kB / 0.5777 GB, free: 25.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.3036, allocations: 98.55 kB / 0.5778 GB, free: 25.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3038, allocations: 146.3 kB / 0.578 GB, free: 25.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3038, allocations: 4.906 kB / 0.578 GB, free: 25.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002897/0.3041, allocations: 186.6 kB / 0.5782 GB, free: 24.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3041, allocations: 9.094 kB / 0.5782 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3041, allocations: 1.969 kB / 0.5782 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.3043, allocations: 33.17 kB / 0.5782 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3044, allocations: 25.62 kB / 0.5782 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008693/0.3053, allocations: 1.428 MB / 0.5796 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3054, allocations: 17.25 kB / 0.5796 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3054, allocations: 6.031 kB / 0.5796 GB, free: 23.54 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.0001127/0.3056, allocations: 154.4 kB / 0.5798 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3056, allocations: 11.62 kB / 0.5798 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3056, allocations: 19.11 kB / 0.5798 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3056, allocations: 1.781 kB / 0.5798 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3057, allocations: 0.7031 kB / 0.5798 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3057, allocations: 1.781 kB / 0.5798 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3061, allocations: 445.9 kB / 0.5803 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3061, allocations: 3.938 kB / 0.5803 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.3062, allocations: 7.391 kB / 0.5803 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.289e-05/0.3062, allocations: 24.98 kB / 0.5803 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3063, allocations: 1.375 kB / 0.5803 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/0.3069, allocations: 1.425 MB / 0.5817 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3069, allocations: 0.7031 kB / 0.5817 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.307, allocations: 211.6 kB / 0.5819 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3071, allocations: 100.8 kB / 0.582 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3071, allocations: 4.609 kB / 0.582 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3072, allocations: 4.828 kB / 0.582 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3072, allocations: 5.797 kB / 0.582 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3073, allocations: 1.375 kB / 0.582 GB, free: 21.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.3074, allocations: 147.7 kB / 0.5821 GB, free: 21.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3074, allocations: 0 / 0.5821 GB, free: 21.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.3077, allocations: 53.09 kB / 0.5822 GB, free: 21.19 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.0003315/0.308, allocations: 0.748 MB / 0.5829 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.3084, allocations: 222.4 kB / 0.5831 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3084, allocations: 0.7812 kB / 0.5831 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3085, allocations: 146.4 kB / 0.5833 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3089, allocations: 34.91 kB / 0.5833 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3106, allocations: 2.03 MB / 0.5853 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3108, allocations: 0.7521 MB / 0.586 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.449e-05/0.3109, allocations: 23.8 kB / 0.586 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.3109, allocations: 50.84 kB / 0.5861 GB, free: 17.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3109, allocations: 0 / 0.5861 GB, free: 17.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.3328, allocations: 3.628 MB / 0.5896 GB, free: 16.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.827, allocations: 8.031 kB / 0.5896 GB, free: 16.26 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)