Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003157/0.003157, allocations: 279.3 kB / 303 MB, free: 3.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 180.9 MB / 0.5262 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 96.22 kB / 0.7248 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.556, allocations: 94.16 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.00252/0.5585, allocations: 1.512 MB / 0.8182 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.5588, allocations: 116.4 kB / 0.8183 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.5589, allocations: 1.312 kB / 0.8183 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.5589, allocations: 7.172 kB / 0.8183 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.559, allocations: 9.938 kB / 0.8183 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.5592, allocations: 30.05 kB / 0.8184 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.5593, allocations: 47.03 kB / 0.8184 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5594, allocations: 11.89 kB / 0.8184 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.5595, allocations: 20.56 kB / 0.8184 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.5595, allocations: 21.75 kB / 0.8185 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.5595, allocations: 3.75 kB / 0.8185 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.5596, allocations: 36.2 kB / 0.8185 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.5597, allocations: 16.42 kB / 0.8185 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.5597, allocations: 27.45 kB / 0.8185 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.5599, allocations: 69.5 kB / 0.8186 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5599, allocations: 0 / 0.8186 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5599, allocations: 0.7969 kB / 0.8186 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5599, allocations: 5.031 kB / 0.8186 GB, free: 5.879 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000511/0.5604, allocations: 379.6 kB / 0.819 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5604, allocations: 9.875 kB / 0.819 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.5604, allocations: 39.83 kB / 0.819 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.5605, allocations: 7.828 kB / 0.819 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.762e-05/0.5606, allocations: 175.2 kB / 0.8192 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5606, allocations: 2.688 kB / 0.8192 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.5606, allocations: 5.594 kB / 0.8192 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.5609, allocations: 113.9 kB / 0.8193 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5609, allocations: 3.938 kB / 0.8193 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5609, allocations: 0.8438 kB / 0.8193 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.5609, allocations: 11.84 kB / 0.8193 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.5613, allocations: 128.1 kB / 0.8194 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.5617, allocations: 345.7 kB / 0.8198 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5619, allocations: 59.28 kB / 0.8198 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5621, allocations: 37.53 kB / 0.8199 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.5623, allocations: 121.5 kB / 0.82 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.5623, allocations: 39.28 kB / 0.82 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5623, allocations: 0.8125 kB / 0.82 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005055/0.5629, allocations: 127 kB / 0.8201 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5629, allocations: 59.55 kB / 0.8202 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.563, allocations: 160.4 kB / 0.8203 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.563, allocations: 26.52 kB / 0.8204 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.5631, allocations: 116 kB / 0.8205 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.5631, allocations: 10.58 kB / 0.8205 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.5631, allocations: 32.69 kB / 0.8205 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.5632, allocations: 323.8 kB / 0.8208 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5634, allocations: 42.7 kB / 0.8209 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5635, allocations: 117.2 kB / 0.821 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5638, allocations: 173.2 kB / 0.8212 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5638, allocations: 0 / 0.8212 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003761/0.5642, allocations: 182.3 kB / 0.8213 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5642, allocations: 5.5 kB / 0.8213 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5642, allocations: 3.219 kB / 0.8213 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.5642, allocations: 7.312 kB / 0.8213 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5644, allocations: 38.45 kB / 0.8214 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5644, allocations: 3.484 kB / 0.8214 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.5645, allocations: 29.2 kB / 0.8214 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.5645, allocations: 6.969 kB / 0.8214 GB, free: 3.586 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.5646, allocations: 124.2 kB / 0.8215 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.5646, allocations: 7.141 kB / 0.8215 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.565, allocations: 122.2 kB / 0.8217 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.565, allocations: 5.281 kB / 0.8217 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.565, allocations: 4 kB / 0.8217 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.565, allocations: 1.719 kB / 0.8217 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.5651, allocations: 173.1 kB / 0.8218 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5651, allocations: 0 / 0.8218 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.5652, allocations: 28.38 kB / 0.8219 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5652, allocations: 1 kB / 0.8219 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5652, allocations: 1.125 kB / 0.8219 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5652, allocations: 3.938 kB / 0.8219 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5652, allocations: 1.766 kB / 0.8219 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.5656, allocations: 200 kB / 0.8221 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.5656, allocations: 84.12 kB / 0.8221 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.5656, allocations: 5.062 kB / 0.8221 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5657, allocations: 15.05 kB / 0.8222 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5658, allocations: 4.938 kB / 0.8222 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.5658, allocations: 3.438 kB / 0.8222 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.5659, allocations: 109.1 kB / 0.8223 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5659, allocations: 0 / 0.8223 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002694/0.5661, allocations: 18.28 kB / 0.8223 GB, free: 2.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005777/0.5667, allocations: 0.7394 MB / 0.823 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.5671, allocations: 102.3 kB / 0.8231 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5671, allocations: 0 / 0.8231 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.5672, allocations: 38.52 kB / 0.8231 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5675, allocations: 22.7 kB / 0.8232 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.5681, allocations: 199.8 kB / 0.8234 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5683, allocations: 0.6901 MB / 0.824 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.5684, allocations: 25.47 kB / 0.8241 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.5685, allocations: 30.56 kB / 0.8241 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5685, allocations: 0 / 0.8241 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.5935, allocations: 2.225 MB / 0.8263 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.476, allocations: 12.22 kB / 0.8263 GB, free: 16.78 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.462957147974521] Failed to read output from testmodel.py, exit status != 0: 8.543588647153229 8.564889396 8.000904594 Calling exit ...