Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.4 MB / 303.6 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 186.2 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006292/0.0006292, allocations: 100.7 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 11.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01443/0.1842, allocations: 20.26 MB / 1 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.2058, allocations: 16.51 MB / 1.016 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.209, allocations: 99.44 kB / 1.016 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.2115, allocations: 0.5658 MB / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.2227, allocations: 3.025 MB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.226, allocations: 0.9615 MB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007775/0.2338, allocations: 5.962 MB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.2377, allocations: 2.546 MB / 1.029 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.2408, allocations: 1.969 MB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.2439, allocations: 2.218 MB / 1.033 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.2443, allocations: 176 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2461, allocations: 1.014 MB / 1.034 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007793/0.2469, allocations: 0.9536 MB / 1.035 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.2485, allocations: 1.696 MB / 1.037 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.2518, allocations: 3.97 MB / 1.041 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2518, allocations: 0 / 1.041 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2518, allocations: 0 / 1.041 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.335e-05/0.2519, allocations: 4 kB / 1.041 GB, free: 13.05 MB / 0.6667 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.007514/0.2594, allocations: 4.072 MB / 1.045 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2595, allocations: 8.031 kB / 1.045 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004493/0.2599, allocations: 358.3 kB / 1.045 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/0.2747, allocations: 3.367 MB / 1.048 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/0.2786, allocations: 2.088 MB / 1.05 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.279, allocations: 474 kB / 1.051 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.2794, allocations: 232 kB / 1.051 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009626/0.289, allocations: 4.849 MB / 1.056 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.2891, allocations: 7.922 kB / 1.056 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.2894, allocations: 104 kB / 1.056 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.2895, allocations: 172.8 kB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.302, allocations: 5.296 MB / 1.061 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3675/0.6695, allocations: 14.6 MB / 1.075 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.6805, allocations: 3.667 MB / 1.079 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/0.6846, allocations: 1.591 MB / 1.081 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.6847, allocations: 22.23 kB / 1.081 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004645/0.6894, allocations: 1.915 MB / 1.082 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 4.509e-06/0.6894, allocations: 3.188 kB / 1.082 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1259/0.8153, allocations: 34.11 MB / 1.116 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.8155, allocations: 0.5013 MB / 1.116 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.8189, allocations: 2.272 MB / 1.118 GB, free: 62.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.8193, allocations: 76.23 kB / 1.119 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.8203, allocations: 1.43 MB / 1.12 GB, free: 61.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008391/0.8211, allocations: 0.8249 MB / 1.121 GB, free: 60.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.8214, allocations: 46.88 kB / 1.121 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8215, allocations: 396.3 kB / 1.121 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/0.8262, allocations: 2.108 MB / 1.123 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.8311, allocations: 2.412 MB / 1.126 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009157/0.8402, allocations: 4.53 MB / 1.13 GB, free: 51.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.8403, allocations: 0 / 1.13 GB, free: 51.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0159/0.8562, allocations: 6.89 MB / 1.137 GB, free: 44.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.8563, allocations: 150.2 kB / 1.137 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.8563, allocations: 8 kB / 1.137 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0087/0.865, allocations: 2.944 MB / 1.14 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.8677, allocations: 0.5695 MB / 1.14 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03125/0.899, allocations: 17.32 MB / 1.157 GB, free: 23.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.9029, allocations: 415.7 kB / 1.158 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.9034, allocations: 91.91 kB / 1.158 GB, free: 22.74 MB / 0.6823 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.001508/0.9049, allocations: 0.7105 MB / 1.158 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/0.9056, allocations: 332.1 kB / 1.159 GB, free: 21.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.9063, allocations: 380.1 kB / 1.159 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.9063, allocations: 31 kB / 1.159 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.08e-05/0.9063, allocations: 8 kB / 1.159 GB, free: 21.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.9064, allocations: 15.95 kB / 1.159 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.9105, allocations: 3.623 MB / 1.163 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.9106, allocations: 2.25 kB / 1.163 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/0.9129, allocations: 0.5033 MB / 1.163 GB, free: 17.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008411/0.9213, allocations: 2.861 MB / 1.166 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/0.9216, allocations: 51.97 kB / 1.166 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0314/0.953, allocations: 17.12 MB / 1.183 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.953, allocations: 0 / 1.183 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.9708, allocations: 6.532 MB / 1.189 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.9726, allocations: 0.6961 MB / 1.19 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008496/0.9734, allocations: 48 kB / 1.19 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/0.977, allocations: 422.9 kB / 1.19 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/0.9782, allocations: 358.6 kB / 1.191 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/0.9786, allocations: 71.97 kB / 1.191 GB, free: 4.676 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00255/0.9811, allocations: 1.505 MB / 1.192 GB, free: 3.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9811, allocations: 0 / 1.192 GB, free: 3.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003264/0.9844, allocations: 1.043 MB / 1.193 GB, free: 2.129 MB / 0.698 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.01789/1.002, allocations: 7.164 MB / 1.2 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02297/1.025, allocations: 6.824 MB / 1.207 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.025, allocations: 8.75 kB / 1.207 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01719/1.043, allocations: 4.229 MB / 1.211 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005841/1.048, allocations: 1.031 MB / 1.212 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05965/1.108, allocations: 27.16 MB / 1.238 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/1.11, allocations: 2.234 MB / 1.241 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002532/1.113, allocations: 0.5099 MB / 1.241 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.115, allocations: 1.327 MB / 1.242 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/1.115, allocations: 0 / 1.242 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/2.661, allocations: 97.32 MB / 1.337 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/2.661, allocations: 223.8 kB / 1.338 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.621/8.282, allocations: 4 kB / 1.338 GB, free: 13.28 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)