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.0007394/0.0007394, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 173.4 kB / 16.58 MB, free: 6.469 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.246/1.246, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6057/0.6057, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.000297, allocations: 8 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01995/0.1544, allocations: 20.41 MB / 0.5768 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2727/0.4271, allocations: 16.39 MB / 0.5928 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.4302, allocations: 101.2 kB / 0.5929 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.4321, allocations: 0.5574 MB / 0.5935 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009212/0.4413, allocations: 2.87 MB / 0.5963 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.4444, allocations: 0.9595 MB / 0.5972 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4546, allocations: 5.922 MB / 0.603 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003757/0.4584, allocations: 2.074 MB / 0.605 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.4625, allocations: 1.96 MB / 0.6069 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00465/0.4672, allocations: 2.222 MB / 0.6091 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.4685, allocations: 175.2 kB / 0.6093 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.4717, allocations: 0.499 MB / 0.6098 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.4738, allocations: 0.9528 MB / 0.6107 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.476, allocations: 0.6908 MB / 0.6114 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.4813, allocations: 3.936 MB / 0.6152 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4813, allocations: 0 / 0.6152 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4813, allocations: 0.9688 kB / 0.6152 GB, free: 4.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002128/0.4815, allocations: 0 / 0.6152 GB, free: 4.895 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009153/0.4907, allocations: 4.109 MB / 0.6192 GB, free: 2.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4907, allocations: 9.5 kB / 0.6192 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00093/0.4917, allocations: 367.6 kB / 0.6196 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.505, allocations: 3.368 MB / 0.6229 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/0.5094, allocations: 1.984 MB / 0.6248 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.5098, allocations: 467.6 kB / 0.6253 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.5102, allocations: 232.2 kB / 0.6255 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009105/0.5193, allocations: 4.861 MB / 0.6302 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.5194, allocations: 6.969 kB / 0.6302 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.5197, allocations: 109.2 kB / 0.6303 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.5199, allocations: 168.8 kB / 0.6305 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.5312, allocations: 5.3 MB / 0.6357 GB, free: 6.195 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01935/0.5506, allocations: 14.58 MB / 0.6499 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.5592, allocations: 3.664 MB / 0.6535 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.5625, allocations: 1.59 MB / 0.6551 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5627, allocations: 29.45 kB / 0.6551 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003708/0.5664, allocations: 1.912 MB / 0.6569 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 4.719e-06/0.5664, allocations: 4 kB / 0.657 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1087/0.6751, allocations: 34.1 MB / 0.6902 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.6754, allocations: 0.4928 MB / 0.6907 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.6783, allocations: 2.277 MB / 0.693 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.6787, allocations: 77.7 kB / 0.693 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.6798, allocations: 1.439 MB / 0.6944 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.6806, allocations: 0.8154 MB / 0.6952 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.6808, allocations: 48 kB / 0.6953 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.681, allocations: 398.7 kB / 0.6957 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/0.6855, allocations: 2.105 MB / 0.6977 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.6903, allocations: 2.415 MB / 0.7001 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/0.6949, allocations: 2.292 MB / 0.7023 GB, free: 364 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6949, allocations: 0 / 0.7023 GB, free: 364 kB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01611/0.711, allocations: 6.886 MB / 0.709 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.926e-05/0.7112, allocations: 148.8 kB / 0.7092 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.7112, allocations: 8 kB / 0.7092 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008362/0.7196, allocations: 2.942 MB / 0.7121 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.7222, allocations: 0.5734 MB / 0.7126 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03117/0.7534, allocations: 17.31 MB / 0.7295 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.7572, allocations: 419.6 kB / 0.7299 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.7574, allocations: 91.97 kB / 0.73 GB, free: 3.664 MB / 0.545 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001349/0.7588, allocations: 0.7073 MB / 0.7307 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.7592, allocations: 332.1 kB / 0.731 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.7599, allocations: 380.1 kB / 0.7314 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.7599, allocations: 27.95 kB / 0.7314 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.644e-05/0.76, allocations: 15.98 kB / 0.7314 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.76, allocations: 11.95 kB / 0.7314 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.7641, allocations: 3.625 MB / 0.735 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.7641, allocations: 0 / 0.735 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/0.7663, allocations: 0.4994 MB / 0.7355 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008164/0.7744, allocations: 2.865 MB / 0.7383 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.7747, allocations: 51.97 kB / 0.7383 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03119/0.8059, allocations: 17.11 MB / 0.755 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8059, allocations: 0 / 0.755 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.8211, allocations: 6.528 MB / 0.7614 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.8228, allocations: 0.6961 MB / 0.7621 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004653/0.8233, allocations: 51.98 kB / 0.7621 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/0.8259, allocations: 415.5 kB / 0.7625 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/0.827, allocations: 366.6 kB / 0.7629 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.8272, allocations: 67.97 kB / 0.7629 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001867/0.829, allocations: 1.505 MB / 0.7644 GB, free: 96 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8291, allocations: 0 / 0.7644 GB, free: 96 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002448/0.8315, allocations: 1.051 MB / 0.7654 GB, free: 15.04 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/0.8467, allocations: 7.161 MB / 0.7724 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0191/0.8659, allocations: 6.821 MB / 0.7791 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.8659, allocations: 2.719 kB / 0.7791 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01401/0.8799, allocations: 4.224 MB / 0.7832 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/0.8841, allocations: 1.044 MB / 0.7842 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04845/0.9326, allocations: 27.17 MB / 0.8108 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.9344, allocations: 2.227 MB / 0.8129 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002287/0.9367, allocations: 0.5099 MB / 0.8134 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.9383, allocations: 1.327 MB / 0.8147 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/0.9383, allocations: 0 / 0.8147 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4014/1.34, allocations: 96.49 MB / 0.909 GB, free: 163.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.34, allocations: 223.5 kB / 0.9092 GB, free: 163.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.833/5.173, allocations: 2.75 kB / 0.9092 GB, free: 163.2 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: