Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines",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.0008453/0.0008452, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001171/0.001171, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.667/2.667, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003749, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7751, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02268/0.7979, allocations: 20.4 MB / 1.001 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.8238, allocations: 16.4 MB / 1.017 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.8278, allocations: 99.44 kB / 1.017 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.8306, allocations: 0.5658 MB / 1.018 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.8417, allocations: 2.864 MB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.8461, allocations: 0.9442 MB / 1.021 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009513/0.8557, allocations: 5.766 MB / 1.027 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/0.8606, allocations: 2.021 MB / 1.029 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.865, allocations: 1.867 MB / 1.031 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/0.87, allocations: 2.167 MB / 1.033 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.8716, allocations: 168 kB / 1.033 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.8745, allocations: 0.4955 MB / 1.034 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.8769, allocations: 0.9185 MB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.8791, allocations: 0.6912 MB / 1.035 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.8856, allocations: 3.814 MB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.8856, allocations: 0 / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8856, allocations: 0 / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002647/0.8859, allocations: 0 / 1.039 GB, free: 10.86 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.009947/0.8959, allocations: 3.873 MB / 1.043 GB, free: 6.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.8959, allocations: 8.031 kB / 1.043 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001434/0.8974, allocations: 362.1 kB / 1.043 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/0.9134, allocations: 3.358 MB / 1.046 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.9196, allocations: 1.96 MB / 1.048 GB, free: 1.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.9199, allocations: 184.7 kB / 1.048 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.9213, allocations: 232 kB / 1.049 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.9345, allocations: 4.72 MB / 1.053 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/0.9346, allocations: 0 / 1.053 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008125/0.9355, allocations: 112 kB / 1.053 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.9357, allocations: 172.8 kB / 1.054 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.9496, allocations: 5.222 MB / 1.059 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02417/0.9738, allocations: 14.11 MB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.9848, allocations: 3.843 MB / 1.076 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/0.9884, allocations: 1.51 MB / 1.078 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.9886, allocations: 33.27 kB / 1.078 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004114/0.9928, allocations: 1.818 MB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 4.879e-06/0.9928, allocations: 0 / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.1174/1.11, allocations: 33.4 MB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/1.11, allocations: 0.4928 MB / 1.113 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.114, allocations: 2.269 MB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004867/1.115, allocations: 77.7 kB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.116, allocations: 1.426 MB / 1.116 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009537/1.117, allocations: 0.824 MB / 1.117 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/1.117, allocations: 51.94 kB / 1.117 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002365/1.118, allocations: 394.7 kB / 1.117 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.123, allocations: 1.917 MB / 1.119 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/1.128, allocations: 2.231 MB / 1.122 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/1.133, allocations: 2.12 MB / 1.124 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.133, allocations: 3.938 kB / 1.124 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01637/1.149, allocations: 6.169 MB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005389/1.15, allocations: 407.6 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.15, allocations: 7.953 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00679/1.156, allocations: 1.848 MB / 1.132 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.16, allocations: 0.5891 MB / 1.132 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/1.183, allocations: 14.16 MB / 1.146 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.187, allocations: 407.7 kB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/1.187, allocations: 95.91 kB / 1.147 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.187, allocations: 4 kB / 1.147 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01468/1.202, allocations: 5.749 MB / 1.152 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.202, allocations: 8 kB / 1.152 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005068/1.207, allocations: 1.822 MB / 1.154 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.21, allocations: 0.6086 MB / 1.155 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/1.231, allocations: 13.43 MB / 1.168 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.235, allocations: 403.6 kB / 1.168 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/1.235, allocations: 91.97 kB / 1.168 GB, free: 3.449 MB / 0.92 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.237, allocations: 0.7762 MB / 1.169 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007573/1.238, allocations: 336 kB / 1.169 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/1.239, allocations: 396.1 kB / 1.17 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.239, allocations: 24 kB / 1.17 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.239, allocations: 12 kB / 1.17 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.239, allocations: 12.14 kB / 1.17 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/1.243, allocations: 3.173 MB / 1.173 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.243, allocations: 3.938 kB / 1.173 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.246, allocations: 0.5189 MB / 1.173 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005709/1.252, allocations: 1.707 MB / 1.175 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/1.252, allocations: 55.91 kB / 1.175 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/1.274, allocations: 13.94 MB / 1.189 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.274, allocations: 3.984 kB / 1.189 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.29, allocations: 5.776 MB / 1.194 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.291, allocations: 0.6648 MB / 1.195 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008203/1.292, allocations: 44 kB / 1.195 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.295, allocations: 407.5 kB / 1.195 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008841/1.296, allocations: 306.6 kB / 1.196 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.296, allocations: 67.97 kB / 1.196 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002513/1.299, allocations: 1.517 MB / 1.197 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.41e-07/1.299, allocations: 0 / 1.197 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004819/1.304, allocations: 1.617 MB / 1.199 GB, free: 3.711 MB / 0.9512 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 (128): * Single equations (assignments): 116 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0144/1.318, allocations: 6.409 MB / 1.205 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02351/1.342, allocations: 10.08 MB / 1.215 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.342, allocations: 4 kB / 1.215 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.008125/1.35, allocations: 3.496 MB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/1.355, allocations: 1.049 MB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0543/1.41, allocations: 25.98 MB / 1.245 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/1.412, allocations: 2.305 MB / 1.247 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003349/1.415, allocations: 0.6309 MB / 1.248 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5712/1.987, allocations: 1.33 MB / 1.249 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/1.987, allocations: 0.625 kB / 1.249 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/2.168, allocations: 100.4 MB / 1.347 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/2.168, allocations: 218.3 kB / 1.347 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.969/7.137, allocations: 3.75 kB / 1.347 GB, free: 171.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat does not exist to compare? outputFormat=mat