Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.001412/0.001412, allocations: 106.2 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.001283/0.001283, 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.002384/0.002384, allocations: 280.8 kB / 303 MB, free: 3.602 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.056/1.056, allocations: 180.9 MB / 0.5262 GB, free: 2.773 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.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 95.84 kB / 0.7248 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5854, allocations: 94.16 MB / 0.8167 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002932/0.5884, allocations: 1.487 MB / 0.8182 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.5888, allocations: 146.7 kB / 0.8183 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.5889, allocations: 0 / 0.8183 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.5889, allocations: 4.938 kB / 0.8183 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.589, allocations: 5.766 kB / 0.8183 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.5893, allocations: 32.88 kB / 0.8184 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.5894, allocations: 42.41 kB / 0.8184 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5895, allocations: 16 kB / 0.8184 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.5895, allocations: 15.39 kB / 0.8184 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.5896, allocations: 25.17 kB / 0.8185 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.5896, allocations: 3.094 kB / 0.8185 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.5897, allocations: 32.75 kB / 0.8185 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.5897, allocations: 10.94 kB / 0.8185 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.5897, allocations: 22.86 kB / 0.8185 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.5899, allocations: 64.12 kB / 0.8186 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5899, allocations: 4 kB / 0.8186 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5899, allocations: 0 / 0.8186 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5899, allocations: 0 / 0.8186 GB, free: 5.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004481/0.5903, allocations: 366.9 kB / 0.8189 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5904, allocations: 8.625 kB / 0.8189 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.5904, allocations: 35.72 kB / 0.819 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5915, allocations: 213.6 kB / 0.8192 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.636e-05/0.5916, allocations: 166.6 kB / 0.8193 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.5916, allocations: 1.938 kB / 0.8193 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.5916, allocations: 10.81 kB / 0.8193 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.5921, allocations: 192.6 kB / 0.8195 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5921, allocations: 5.031 kB / 0.8195 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5921, allocations: 4 kB / 0.8195 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5921, allocations: 1.219 kB / 0.8195 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.5929, allocations: 277 kB / 0.8198 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.5937, allocations: 435.3 kB / 0.8202 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5947, allocations: 288.2 kB / 0.8205 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.5951, allocations: 100.4 kB / 0.8206 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.5951, allocations: 5.5 kB / 0.8206 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5951, allocations: 35.98 kB / 0.8206 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5951, allocations: 0 / 0.8206 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001138/0.5963, allocations: 311.5 kB / 0.8209 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.5963, allocations: 51.41 kB / 0.821 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.5964, allocations: 122.7 kB / 0.8211 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5964, allocations: 26.45 kB / 0.8211 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.5964, allocations: 92.06 kB / 0.8212 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.5964, allocations: 6.984 kB / 0.8212 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.5965, allocations: 19.14 kB / 0.8212 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.5966, allocations: 322.7 kB / 0.8215 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.5969, allocations: 95.72 kB / 0.8216 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.5972, allocations: 92.17 kB / 0.8217 GB, free: 4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.5978, allocations: 173.8 kB / 0.8219 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5978, allocations: 0 / 0.8219 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006832/0.5985, allocations: 219.7 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5985, allocations: 7.125 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5985, allocations: 0.5625 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5985, allocations: 2.625 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.5988, allocations: 35.09 kB / 0.8221 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5988, allocations: 0.6562 kB / 0.8221 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.599, allocations: 35.64 kB / 0.8222 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.599, allocations: 11.78 kB / 0.8222 GB, free: 3.879 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.576e-05/0.5991, allocations: 118.2 kB / 0.8223 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.5991, allocations: 7.156 kB / 0.8223 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.5991, allocations: 7.266 kB / 0.8223 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5991, allocations: 3.141 kB / 0.8223 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5992, allocations: 0 / 0.8223 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5992, allocations: 4.656 kB / 0.8223 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.5994, allocations: 211.6 kB / 0.8225 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5994, allocations: 0.7031 kB / 0.8225 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.5996, allocations: 37.06 kB / 0.8226 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5996, allocations: 384 / 0.8226 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5996, allocations: 4.156 kB / 0.8226 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5996, allocations: 0 / 0.8226 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5996, allocations: 0 / 0.8226 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.6003, allocations: 322.7 kB / 0.8229 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.6003, allocations: 79.95 kB / 0.8229 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6003, allocations: 0 / 0.8229 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.6005, allocations: 33.33 kB / 0.823 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.6006, allocations: 0.6562 kB / 0.823 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6006, allocations: 3.453 kB / 0.823 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.6006, allocations: 97.27 kB / 0.8231 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6006, allocations: 0 / 0.8231 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002313/0.6009, allocations: 17.81 kB / 0.8231 GB, free: 3.168 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.0008248/0.6017, allocations: 0.8389 MB / 0.8239 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007047/0.6024, allocations: 196.1 kB / 0.8241 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6024, allocations: 0 / 0.8241 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.6027, allocations: 101.3 kB / 0.8242 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.603, allocations: 6.953 kB / 0.8242 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.6064, allocations: 1.844 MB / 0.826 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.6067, allocations: 0.6903 MB / 0.8267 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.817e-05/0.6068, allocations: 21.81 kB / 0.8267 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.6069, allocations: 20.86 kB / 0.8267 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/0.6069, allocations: 0 / 0.8267 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.6311, allocations: 1.976 MB / 0.8286 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.598, allocations: 5.078 kB / 0.8287 GB, free: 16.01 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.455330257769674] Failed to read output from testmodel.py, exit status != 0: 8.66316703055054 8.677289971 8.084451748 Calling exit ...