Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009925/0.0009926, allocations: 179.5 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006608/0.0006608, allocations: 95.78 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002797, allocations: 8.469 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01518/0.1612, allocations: 21.92 MB / 0.9176 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.1788, allocations: 17.69 MB / 0.9349 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.1813, allocations: 111.3 kB / 0.935 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007288/0.1886, allocations: 3.89 MB / 0.9388 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00748/0.1961, allocations: 3.196 MB / 0.9419 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1987, allocations: 1.179 MB / 0.9431 GB, free: 19.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005562/0.2043, allocations: 7.064 MB / 0.95 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.2072, allocations: 2.479 MB / 0.9524 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.2101, allocations: 2.066 MB / 0.9544 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.2131, allocations: 2.295 MB / 0.9566 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000783/0.2139, allocations: 176 kB / 0.9568 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.2164, allocations: 1.061 MB / 0.9578 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.2175, allocations: 0.9769 MB / 0.9588 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.2197, allocations: 1.756 MB / 0.9605 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.2244, allocations: 4.947 MB / 0.9653 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2244, allocations: 0 / 0.9653 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2244, allocations: 4 kB / 0.9653 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001046/0.2245, allocations: 0 / 0.9653 GB, free: 12.96 MB / 0.6198 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.007664/0.2322, allocations: 4.064 MB / 0.9693 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2323, allocations: 12.03 kB / 0.9693 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006156/0.2329, allocations: 370.3 kB / 0.9697 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.2473, allocations: 3.363 MB / 0.973 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.2511, allocations: 2.088 MB / 0.975 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.2514, allocations: 466 kB / 0.9754 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.2518, allocations: 232 kB / 0.9757 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009398/0.2612, allocations: 4.877 MB / 0.9804 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.2613, allocations: 3.938 kB / 0.9804 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.2616, allocations: 108 kB / 0.9805 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.2618, allocations: 168.8 kB / 0.9807 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.2741, allocations: 5.312 MB / 0.9859 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.2927, allocations: 14.6 MB / 1 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00902/0.3018, allocations: 3.689 MB / 1.004 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.3051, allocations: 1.588 MB / 1.005 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.3053, allocations: 29.23 kB / 1.005 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003738/0.309, allocations: 1.933 MB / 1.007 GB, free: 424 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 3.447e-06/0.3091, allocations: 0 / 1.007 GB, free: 424 kB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1122/0.4212, allocations: 34.12 MB / 1.041 GB, free: 14.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.4215, allocations: 0.4928 MB / 1.041 GB, free: 13.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.4243, allocations: 2.3 MB / 1.043 GB, free: 11.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.4246, allocations: 81.69 kB / 1.043 GB, free: 11.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.4257, allocations: 1.43 MB / 1.045 GB, free: 9.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/0.4265, allocations: 0.8124 MB / 1.046 GB, free: 8.793 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.4268, allocations: 190.4 kB / 1.046 GB, free: 8.602 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.4269, allocations: 305.1 kB / 1.046 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/0.4317, allocations: 2.116 MB / 1.048 GB, free: 6.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/0.4371, allocations: 2.415 MB / 1.05 GB, free: 3.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3196/0.7567, allocations: 4.532 MB / 1.055 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.7568, allocations: 1.625 kB / 1.055 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01797/0.7748, allocations: 6.912 MB / 1.062 GB, free: 142.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.7749, allocations: 152.8 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.7749, allocations: 5.5 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.785, allocations: 2.931 MB / 1.065 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.7879, allocations: 0.5711 MB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03158/0.8195, allocations: 17.36 MB / 1.082 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.8232, allocations: 422.8 kB / 1.083 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.8235, allocations: 95.53 kB / 1.083 GB, free: 135.3 MB / 0.698 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.001437/0.8249, allocations: 0.7042 MB / 1.083 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.8255, allocations: 332 kB / 1.084 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.8262, allocations: 383.2 kB / 1.084 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.8262, allocations: 24.22 kB / 1.084 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/0.8262, allocations: 13.94 kB / 1.084 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.8263, allocations: 12.56 kB / 1.084 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.83, allocations: 3.641 MB / 1.088 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.83, allocations: 0 / 1.088 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.8321, allocations: 0.504 MB / 1.088 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007887/0.84, allocations: 2.871 MB / 1.091 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.8402, allocations: 47.66 kB / 1.091 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0282/0.8684, allocations: 17.15 MB / 1.108 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8684, allocations: 4 kB / 1.108 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.8828, allocations: 6.548 MB / 1.114 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.884, allocations: 0.7 MB / 1.115 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.8845, allocations: 48 kB / 1.115 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/0.8873, allocations: 411.6 kB / 1.115 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/0.8883, allocations: 349.6 kB / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.8885, allocations: 77.11 kB / 1.116 GB, free: 108.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001474/0.89, allocations: 1.536 MB / 1.117 GB, free: 106.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.89, allocations: 0 / 1.117 GB, free: 106.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00204/0.892, allocations: 1.043 MB / 1.118 GB, free: 105.9 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 (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.01445/0.9065, allocations: 7.174 MB / 1.125 GB, free: 98.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01835/0.9249, allocations: 6.837 MB / 1.132 GB, free: 91.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9249, allocations: 0 / 1.132 GB, free: 91.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/0.9387, allocations: 4.242 MB / 1.136 GB, free: 87.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.9426, allocations: 1.053 MB / 1.137 GB, free: 86.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05988/1.002, allocations: 39.09 MB / 1.175 GB, free: 45.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/1.004, allocations: 2.235 MB / 1.177 GB, free: 43.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002063/1.006, allocations: 0.506 MB / 1.178 GB, free: 42.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.007, allocations: 1.319 MB / 1.179 GB, free: 41.22 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/1.007, allocations: 8 kB / 1.179 GB, free: 41.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6836/1.691, allocations: 98.23 MB / 1.275 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004097/1.691, allocations: 265.3 kB / 1.275 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.359/7.05, allocations: 3.938 kB / 1.275 GB, free: 7.539 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)