Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002965/0.002965, allocations: 219.7 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.042/1.042, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.55 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1737, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001682/0.1753, allocations: 0.606 MB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.1757, allocations: 163.4 kB / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1758, allocations: 0 / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1758, allocations: 0 / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.1758, allocations: 0 / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1761, allocations: 47.83 kB / 0.7292 GB, free: 420 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.1762, allocations: 11.98 kB / 0.7292 GB, free: 408 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1762, allocations: 8 kB / 0.7292 GB, free: 400 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.1763, allocations: 7.938 kB / 0.7292 GB, free: 392 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.1763, allocations: 11.97 kB / 0.7292 GB, free: 380 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1763, allocations: 0 / 0.7292 GB, free: 380 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.1764, allocations: 31.97 kB / 0.7293 GB, free: 348 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1765, allocations: 4 kB / 0.7293 GB, free: 344 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1765, allocations: 7.938 kB / 0.7293 GB, free: 336 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1766, allocations: 40.09 kB / 0.7293 GB, free: 296 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1766, allocations: 4 kB / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1766, allocations: 0 / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1766, allocations: 0 / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004073/0.177, allocations: 254.3 kB / 0.7296 GB, free: 4 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1771, allocations: 8.078 kB / 0.7296 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1771, allocations: 30.75 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1772, allocations: 8.891 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1773, allocations: 106.5 kB / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1773, allocations: 384 / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1773, allocations: 8.375 kB / 0.7297 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1774, allocations: 46.14 kB / 0.7297 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1774, allocations: 7.922 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1774, allocations: 3.938 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1774, allocations: 0 / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.1775, allocations: 16 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1777, allocations: 128.8 kB / 0.7299 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1778, allocations: 54.55 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1779, allocations: 20.97 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.971e-05/0.1779, allocations: 0 / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.178, allocations: 38.56 kB / 0.73 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.178, allocations: 0 / 0.73 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001272/0.1792, allocations: 414.9 kB / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1793, allocations: 51.41 kB / 0.7305 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.1793, allocations: 93.86 kB / 0.7305 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1794, allocations: 29.7 kB / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1794, allocations: 80.14 kB / 0.7306 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1794, allocations: 27.73 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1795, allocations: 21.72 kB / 0.7307 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1796, allocations: 318.8 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.1797, allocations: 15.92 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1797, allocations: 12.12 kB / 0.731 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.1797, allocations: 40.84 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1797, allocations: 448 / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.1799, allocations: 77.84 kB / 0.7311 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1799, allocations: 4 kB / 0.7311 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1799, allocations: 0 / 0.7311 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1799, allocations: 0 / 0.7311 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.18, allocations: 19.94 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.18, allocations: 4.062 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.18, allocations: 3.984 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.18, allocations: 8 kB / 0.7312 GB, free: 14.12 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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 8.88e-05/0.1801, allocations: 113.8 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.1801, allocations: 11.89 kB / 0.7313 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.1803, allocations: 73.58 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1803, allocations: 4 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1803, allocations: 0 / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1803, allocations: 3.938 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1804, allocations: 140.7 kB / 0.7315 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1804, allocations: 7.938 kB / 0.7315 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.1805, allocations: 15.94 kB / 0.7315 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1805, allocations: 0 / 0.7315 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1805, allocations: 4 kB / 0.7315 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1805, allocations: 4 kB / 0.7315 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1805, allocations: 0 / 0.7315 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1807, allocations: 105.1 kB / 0.7316 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.1807, allocations: 7.891 kB / 0.7316 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1808, allocations: 8.078 kB / 0.7317 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.1808, allocations: 11.94 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.1808, allocations: 4 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1808, allocations: 3.984 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.1809, allocations: 75.28 kB / 0.7317 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1809, allocations: 0 / 0.7317 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.1811, allocations: 31.94 kB / 0.7318 GB, free: 13.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005719/0.1817, allocations: 0.6788 MB / 0.7324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1818, allocations: 39.92 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1818, allocations: 0 / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.1818, allocations: 23.98 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.182, allocations: 3.938 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1832, allocations: 1.2 MB / 0.7337 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1835, allocations: 0.6807 MB / 0.7343 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.1836, allocations: 12.06 kB / 0.7344 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.1836, allocations: 15.42 kB / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1836, allocations: 0 / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.2312, allocations: 1.929 MB / 0.7363 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 14.3 kB / 0.7363 GB, free: 8.875 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.132191302021965] Failed to read output from testmodel.py, exit status != 0: 11.39071150496602 11.41697561 11.235589544 Calling exit ...