Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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.001665/0.001665, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.002369/0.002368, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.704/4.704, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007018/0.0007019, allocations: 16 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448/1.449, allocations: 146.8 MB / 0.9809 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04266/1.491, allocations: 19.17 MB / 0.9996 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.05145/1.543, allocations: 16.06 MB / 1.015 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007022/1.55, allocations: 95.38 kB / 1.015 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005042/1.555, allocations: 0.5432 MB / 1.016 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02076/1.576, allocations: 2.824 MB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007039/1.583, allocations: 0.9371 MB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01393/1.597, allocations: 3.419 MB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008133/1.605, allocations: 2.071 MB / 1.025 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007299/1.613, allocations: 1.814 MB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007422/1.62, allocations: 1.79 MB / 1.028 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/1.623, allocations: 176 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/1.627, allocations: 491.4 kB / 1.029 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003875/1.631, allocations: 0.8839 MB / 1.03 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004371/1.636, allocations: 0.6912 MB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.647, allocations: 3.894 MB / 1.034 GB, free: 15.48 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.647, allocations: 4 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.17e-06/1.647, allocations: 0 / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002781/1.647, allocations: 0 / 1.034 GB, free: 15.47 MB / 0.795 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.01882/1.666, allocations: 4.095 MB / 1.038 GB, free: 11.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001063/1.666, allocations: 12.03 kB / 1.038 GB, free: 11.25 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/1.669, allocations: 366.1 kB / 1.039 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02791/1.697, allocations: 3.405 MB / 1.042 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009449/1.706, allocations: 1.983 MB / 1.044 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000941/1.707, allocations: 465.7 kB / 1.044 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/1.709, allocations: 236 kB / 1.045 GB, free: 4.672 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/1.733, allocations: 4.826 MB / 1.049 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/1.733, allocations: 8 kB / 1.049 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/1.735, allocations: 104 kB / 1.05 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004347/1.735, allocations: 172.8 kB / 1.05 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/1.761, allocations: 5.3 MB / 1.055 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04301/1.805, allocations: 14.58 MB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/1.822, allocations: 3.667 MB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/1.822, allocations: 29.28 kB / 1.073 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008025/1.83, allocations: 1.916 MB / 1.075 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=163): time 8.176e-06/1.83, allocations: 3.938 kB / 1.075 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=250): time 0.2147/2.045, allocations: 34.09 MB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003973/2.045, allocations: 0.4889 MB / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/2.053, allocations: 2.273 MB / 1.111 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0009446/2.054, allocations: 77.7 kB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/2.056, allocations: 1.438 MB / 1.112 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/2.058, allocations: 0.8202 MB / 1.113 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/2.059, allocations: 44 kB / 1.113 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0004056/2.06, allocations: 398.7 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009373/2.069, allocations: 2.105 MB / 1.115 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/2.08, allocations: 2.403 MB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/2.09, allocations: 2.292 MB / 1.12 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/2.09, allocations: 0 / 1.12 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03353/2.123, allocations: 6.883 MB / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002556/2.124, allocations: 148.8 kB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/2.124, allocations: 8 kB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/2.14, allocations: 2.95 MB / 1.13 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004889/2.145, allocations: 0.5657 MB / 1.13 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06997/2.215, allocations: 18.16 MB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/2.223, allocations: 419.5 kB / 1.148 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/2.224, allocations: 95.97 kB / 1.148 GB, free: 8.129 MB / 0.9044 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.004132/2.229, allocations: 0.695 MB / 1.149 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/2.231, allocations: 340 kB / 1.149 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/2.232, allocations: 384.1 kB / 1.15 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-05/2.232, allocations: 24 kB / 1.15 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.914e-05/2.233, allocations: 12 kB / 1.15 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.61e-05/2.233, allocations: 15.95 kB / 1.15 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/2.245, allocations: 3.624 MB / 1.153 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.951e-05/2.245, allocations: 0 / 1.153 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004289/2.249, allocations: 0.4955 MB / 1.154 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01638/2.266, allocations: 2.869 MB / 1.157 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000866/2.267, allocations: 43.97 kB / 1.157 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07621/2.343, allocations: 17.94 MB / 1.174 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/2.343, allocations: 4.516 kB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04401/2.387, allocations: 6.529 MB / 1.181 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004203/2.391, allocations: 0.7 MB / 1.181 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/2.393, allocations: 44 kB / 1.181 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005898/2.399, allocations: 407.6 kB / 1.182 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002243/2.401, allocations: 366.6 kB / 1.182 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005336/2.402, allocations: 75.91 kB / 1.182 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005898/2.408, allocations: 1.509 MB / 1.184 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.182e-06/2.408, allocations: 0 / 1.184 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.008099/2.416, allocations: 1.047 MB / 1.185 GB, free: 2.613 MB / 0.9356 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.03315/2.449, allocations: 7.153 MB / 1.192 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.04068/2.49, allocations: 6.825 MB / 1.198 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.307e-05/2.49, allocations: 4 kB / 1.198 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.02955/2.52, allocations: 4.229 MB / 1.202 GB, free: 248 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007757/2.528, allocations: 1.007 MB / 1.203 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1236/2.651, allocations: 30.51 MB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004749/2.656, allocations: 2.305 MB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005512/2.662, allocations: 0.5099 MB / 1.236 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004104/2.666, allocations: 1.327 MB / 1.237 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of SimCode: time 2.375e-06/2.666, allocations: 4 kB / 1.237 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.518/5.184, allocations: 96.44 MB / 1.331 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007187/5.184, allocations: 226.2 kB / 1.332 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/14.22, allocations: 7.797 kB / 1.332 GB, free: 188.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat does not exist to compare? outputFormat=mat