Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",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.001312/0.001312, allocations: 107.6 kB / 16.41 MB, free: 6.469 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.001303/0.001303, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8365/0.8365, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 66.89 kB / 0.5726 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 78.7 MB / 0.6495 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02959/0.1898, allocations: 22.61 MB / 0.6716 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03002/0.2199, allocations: 17.63 MB / 0.6888 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2231, allocations: 111.4 kB / 0.6889 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.2349, allocations: 4.179 MB / 0.693 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.2467, allocations: 3.515 MB / 0.6964 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.2507, allocations: 1.309 MB / 0.6977 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.2607, allocations: 5.789 MB / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006283/0.2671, allocations: 3.588 MB / 0.7068 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.2728, allocations: 2.414 MB / 0.7092 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006161/0.279, allocations: 2.448 MB / 0.7116 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.2812, allocations: 372 kB / 0.7119 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.2856, allocations: 1.033 MB / 0.713 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.288, allocations: 1.192 MB / 0.7141 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003964/0.292, allocations: 1.994 MB / 0.7161 GB, free: 156 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008872/0.3009, allocations: 5.203 MB / 0.7211 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3009, allocations: 4 kB / 0.7212 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3009, allocations: 0 / 0.7212 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002026/0.3011, allocations: 0 / 0.7212 GB, free: 10.93 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01238/0.3135, allocations: 4.73 MB / 0.7258 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3136, allocations: 8.031 kB / 0.7258 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007241/0.3143, allocations: 362.3 kB / 0.7261 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.3312, allocations: 3.283 MB / 0.7293 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/0.3363, allocations: 2.254 MB / 0.7315 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005438/0.3369, allocations: 466 kB / 0.732 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.3377, allocations: 232 kB / 0.7322 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.3502, allocations: 4.822 MB / 0.7369 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.3503, allocations: 3.938 kB / 0.7369 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.3508, allocations: 99.98 kB / 0.737 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.351, allocations: 172.8 kB / 0.7372 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.3667, allocations: 5.194 MB / 0.7422 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3149/0.6816, allocations: 14.41 MB / 0.7563 GB, free: 78.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.6923, allocations: 3.386 MB / 0.7596 GB, free: 77.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/0.6964, allocations: 1.465 MB / 0.7611 GB, free: 76.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.6966, allocations: 28.11 kB / 0.7611 GB, free: 76.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004365/0.701, allocations: 1.794 MB / 0.7628 GB, free: 76.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 3.908e-06/0.701, allocations: 0 / 0.7628 GB, free: 76.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1225/0.8235, allocations: 28.3 MB / 0.7905 GB, free: 63.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.8238, allocations: 0.4897 MB / 0.7909 GB, free: 62.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/0.8271, allocations: 2.306 MB / 0.7932 GB, free: 60.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/0.8278, allocations: 77.7 kB / 0.7933 GB, free: 60.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.8289, allocations: 1.454 MB / 0.7947 GB, free: 58.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/0.8299, allocations: 0.8567 MB / 0.7955 GB, free: 57.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/0.8308, allocations: 416.5 kB / 0.7959 GB, free: 57.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.8308, allocations: 301.1 kB / 0.7962 GB, free: 57.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004603/0.8354, allocations: 1.934 MB / 0.7981 GB, free: 55.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.8403, allocations: 2.228 MB / 0.8003 GB, free: 53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009503/0.8498, allocations: 4.169 MB / 0.8043 GB, free: 48.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.8499, allocations: 7.938 kB / 0.8044 GB, free: 48.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01721/0.8671, allocations: 6.549 MB / 0.8108 GB, free: 42.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.8672, allocations: 148.5 kB / 0.8109 GB, free: 41.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.8673, allocations: 4 kB / 0.8109 GB, free: 41.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009382/0.8767, allocations: 2.93 MB / 0.8138 GB, free: 38.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.8795, allocations: 491.2 kB / 0.8142 GB, free: 38.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03447/0.914, allocations: 18.86 MB / 0.8326 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/0.9182, allocations: 319.6 kB / 0.833 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.9187, allocations: 91.97 kB / 0.833 GB, free: 19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001329/0.92, allocations: 0.7028 MB / 0.8337 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005779/0.9206, allocations: 341.9 kB / 0.8341 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.9212, allocations: 388.1 kB / 0.8344 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.9213, allocations: 23.94 kB / 0.8344 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/0.9213, allocations: 16 kB / 0.8345 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.9213, allocations: 11.95 kB / 0.8345 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.9251, allocations: 3.627 MB / 0.838 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.9252, allocations: 0.6875 kB / 0.838 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/0.9275, allocations: 419.4 kB / 0.8384 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008674/0.9362, allocations: 2.877 MB / 0.8412 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/0.9366, allocations: 39.98 kB / 0.8413 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03677/0.9733, allocations: 18.65 MB / 0.8595 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.9734, allocations: 4 kB / 0.8595 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/0.9922, allocations: 6.19 MB / 0.8655 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/0.9943, allocations: 0.7135 MB / 0.8662 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/0.9949, allocations: 47.98 kB / 0.8663 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/0.9981, allocations: 311.6 kB / 0.8666 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/0.9994, allocations: 358.7 kB / 0.8669 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/0.9996, allocations: 67.97 kB / 0.867 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002324/1.002, allocations: 1.536 MB / 0.8685 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 0.8685 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00282/1.005, allocations: 1.043 MB / 0.8695 GB, free: 13.32 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01909/1.024, allocations: 6.825 MB / 0.8762 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0238/1.048, allocations: 6.483 MB / 0.8825 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.048, allocations: 0 / 0.8825 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01797/1.066, allocations: 4.072 MB / 0.8865 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/1.071, allocations: 1.138 MB / 0.8876 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07621/1.147, allocations: 31.96 MB / 0.9188 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.15, allocations: 2.231 MB / 0.921 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002548/1.152, allocations: 0.5177 MB / 0.9215 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/1.154, allocations: 1.335 MB / 0.9228 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/1.154, allocations: 0 / 0.9228 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/1.348, allocations: 102.7 MB / 1.023 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.94, allocations: 14.73 kB / 1.023 GB, free: 0.5273 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)