Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_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.001515/0.001515, allocations: 109.4 kB / 15.69 MB, free: 128 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.002034/0.002034, allocations: 185.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 72.41 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2229, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02412/0.2471, allocations: 22.43 MB / 0.8055 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.2733, allocations: 17.74 MB / 0.8229 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003603/0.2769, allocations: 119.3 kB / 0.823 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.2878, allocations: 4.15 MB / 0.827 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.299, allocations: 3.521 MB / 0.8305 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.3026, allocations: 1.318 MB / 0.8317 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008738/0.3114, allocations: 5.78 MB / 0.8374 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/0.3171, allocations: 3.588 MB / 0.8409 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.321, allocations: 2.406 MB / 0.8432 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/0.3251, allocations: 2.448 MB / 0.8456 GB, free: 13.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008352/0.326, allocations: 368 kB / 0.846 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3282, allocations: 1.041 MB / 0.847 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3293, allocations: 1.192 MB / 0.8482 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3317, allocations: 2.002 MB / 0.8501 GB, free: 8.883 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.3371, allocations: 5.179 MB / 0.8552 GB, free: 3.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3371, allocations: 3.938 kB / 0.8552 GB, free: 3.684 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3371, allocations: 0 / 0.8552 GB, free: 3.684 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001144/0.3373, allocations: 3.938 kB / 0.8552 GB, free: 3.68 MB / 0.67 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.01045/0.3477, allocations: 4.608 MB / 0.8597 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3478, allocations: 8.031 kB / 0.8597 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005682/0.3484, allocations: 370.3 kB / 0.86 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.364, allocations: 3.265 MB / 0.8632 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/0.3684, allocations: 2.228 MB / 0.8654 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.3689, allocations: 470 kB / 0.8659 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/0.3695, allocations: 232 kB / 0.8661 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.3802, allocations: 4.814 MB / 0.8708 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.3802, allocations: 0 / 0.8708 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.3806, allocations: 104 kB / 0.8709 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.3808, allocations: 172.8 kB / 0.871 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.3942, allocations: 5.191 MB / 0.8761 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/0.4164, allocations: 14.4 MB / 0.8902 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009941/0.4264, allocations: 3.395 MB / 0.8935 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/0.4302, allocations: 1.467 MB / 0.8949 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.4304, allocations: 21.3 kB / 0.8949 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004054/0.4344, allocations: 1.798 MB / 0.8967 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.627e-06/0.4345, allocations: 0 / 0.8967 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.4921/0.9265, allocations: 28.21 MB / 0.9242 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.9268, allocations: 498.6 kB / 0.9247 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.9304, allocations: 2.3 MB / 0.927 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004896/0.9309, allocations: 72.53 kB / 0.927 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.9321, allocations: 1.441 MB / 0.9284 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.9332, allocations: 0.8208 MB / 0.9292 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.9343, allocations: 417 kB / 0.9296 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.9343, allocations: 312.2 kB / 0.9299 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005574/0.9399, allocations: 1.929 MB / 0.9318 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.9455, allocations: 2.227 MB / 0.934 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.9558, allocations: 4.162 MB / 0.9381 GB, free: 122 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.9558, allocations: 1.438 kB / 0.9381 GB, free: 122 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01866/0.9745, allocations: 6.536 MB / 0.9444 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-05/0.9746, allocations: 147.5 kB / 0.9446 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.9746, allocations: 9.438 kB / 0.9446 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009399/0.984, allocations: 2.927 MB / 0.9475 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.9868, allocations: 492.2 kB / 0.9479 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03527/1.022, allocations: 18.84 MB / 0.9663 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.026, allocations: 317 kB / 0.9666 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/1.027, allocations: 88.62 kB / 0.9667 GB, free: 107.8 MB / 0.7325 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.001412/1.028, allocations: 0.7124 MB / 0.9674 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.029, allocations: 331.8 kB / 0.9677 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/1.029, allocations: 382.5 kB / 0.9681 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.029, allocations: 23.62 kB / 0.9681 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-05/1.029, allocations: 11.91 kB / 0.9681 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.029, allocations: 14.02 kB / 0.9681 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/1.033, allocations: 3.631 MB / 0.9717 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.033, allocations: 0 / 0.9717 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.036, allocations: 418.8 kB / 0.9721 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008792/1.044, allocations: 2.869 MB / 0.9749 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000526/1.045, allocations: 51.62 kB / 0.9749 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03263/1.078, allocations: 18.62 MB / 0.9931 GB, free: 84.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.078, allocations: 0 / 0.9931 GB, free: 84.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.093, allocations: 6.174 MB / 0.9991 GB, free: 78.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.095, allocations: 0.7 MB / 0.9998 GB, free: 77.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008715/1.096, allocations: 44 kB / 0.9999 GB, free: 77.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.099, allocations: 315.6 kB / 1 GB, free: 77.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.1, allocations: 354.7 kB / 1.001 GB, free: 76.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.101, allocations: 73.28 kB / 1.001 GB, free: 76.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001732/1.102, allocations: 1.532 MB / 1.002 GB, free: 75.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.102, allocations: 0 / 1.002 GB, free: 75.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002662/1.105, allocations: 1.047 MB / 1.003 GB, free: 74.11 MB / 0.7325 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.01573/1.121, allocations: 6.805 MB / 1.01 GB, free: 67.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02103/1.142, allocations: 6.475 MB / 1.016 GB, free: 60.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.142, allocations: 8 kB / 1.016 GB, free: 60.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01606/1.158, allocations: 4.054 MB / 1.02 GB, free: 56.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00506/1.163, allocations: 1.129 MB / 1.021 GB, free: 55.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08461/1.248, allocations: 31.85 MB / 1.052 GB, free: 23.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/1.251, allocations: 2.227 MB / 1.054 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002634/1.253, allocations: 0.5102 MB / 1.055 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.255, allocations: 1.339 MB / 1.056 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/1.255, allocations: 0 / 1.056 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/1.432, allocations: 101.5 MB / 1.155 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/20.08, allocations: 4 kB / 1.155 GB, free: 14.83 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)