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.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002531/0.002531, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.00289/0.00289, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.338/2.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.005/1.005, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 67.17 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2582, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.003533/0.2618, allocations: 0.5908 MB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007895/0.2627, allocations: 159.8 kB / 0.6324 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.2627, allocations: 0 / 0.6324 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.2628, allocations: 0 / 0.6324 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.2629, allocations: 0 / 0.6324 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.2636, allocations: 43.84 kB / 0.6324 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2637, allocations: 11.98 kB / 0.6324 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.2638, allocations: 7.984 kB / 0.6324 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.2639, allocations: 4 kB / 0.6324 GB, free: 4.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.264, allocations: 7.938 kB / 0.6324 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.264, allocations: 4 kB / 0.6324 GB, free: 4.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2642, allocations: 39.89 kB / 0.6325 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.2643, allocations: 7.984 kB / 0.6325 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2643, allocations: 3.938 kB / 0.6325 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.2645, allocations: 35.94 kB / 0.6325 GB, free: 3.996 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.2645, allocations: 4 kB / 0.6325 GB, free: 3.992 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.2645, allocations: 0 / 0.6325 GB, free: 3.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2646, allocations: 0 / 0.6325 GB, free: 3.992 MB / 478.1 MB 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.0006996/0.2653, allocations: 323.6 kB / 0.6328 GB, free: 3.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.756e-05/0.2654, allocations: 12.03 kB / 0.6328 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.003e-05/0.2655, allocations: 38.75 kB / 0.6329 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.2655, allocations: 8.781 kB / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2658, allocations: 171.1 kB / 0.6331 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2658, allocations: 384 / 0.6331 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.2659, allocations: 8.375 kB / 0.6331 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2662, allocations: 38.25 kB / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.2662, allocations: 11.92 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2663, allocations: 0 / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.2663, allocations: 0 / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-05/0.2664, allocations: 16 kB / 0.6331 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2667, allocations: 153.7 kB / 0.6333 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.267, allocations: 50.56 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.2671, allocations: 20.97 kB / 0.6333 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.2673, allocations: 81.09 kB / 0.6334 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.2674, allocations: 34.56 kB / 0.6335 GB, free: 2.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 2.424e-06/0.2674, allocations: 4 kB / 0.6335 GB, free: 2.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.002637/0.27, allocations: 493.1 kB / 0.6339 GB, free: 2.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.2701, allocations: 51.41 kB / 0.634 GB, free: 2.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2703, allocations: 93.8 kB / 0.6341 GB, free: 2.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.2704, allocations: 29.7 kB / 0.6341 GB, free: 2.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2705, allocations: 84.12 kB / 0.6342 GB, free: 2.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.2706, allocations: 27.92 kB / 0.6342 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.2707, allocations: 25.84 kB / 0.6342 GB, free: 1.953 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.271, allocations: 310.8 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.2711, allocations: 19.92 kB / 0.6345 GB, free: 1.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.2711, allocations: 12 kB / 0.6346 GB, free: 1.609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2713, allocations: 32.84 kB / 0.6346 GB, free: 1.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2713, allocations: 0 / 0.6346 GB, free: 1.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.2716, allocations: 73.53 kB / 0.6347 GB, free: 1.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.2716, allocations: 8 kB / 0.6347 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.2716, allocations: 320 / 0.6347 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.2717, allocations: 7.938 kB / 0.6347 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.2719, allocations: 12 kB / 0.6347 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.2719, allocations: 3.984 kB / 0.6347 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.2719, allocations: 0 / 0.6347 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.272, allocations: 15.92 kB / 0.6347 GB, free: 1.449 MB / 478.1 MB 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 0.0001558/0.2721, allocations: 105.8 kB / 0.6348 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2722, allocations: 7.938 kB / 0.6348 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.2725, allocations: 85.56 kB / 0.6349 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2726, allocations: 4 kB / 0.6349 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2726, allocations: 4 kB / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2726, allocations: 0 / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.2729, allocations: 165.7 kB / 0.6351 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2729, allocations: 0 / 0.6351 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2731, allocations: 15.94 kB / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2731, allocations: 0 / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2731, allocations: 0 / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2731, allocations: 0 / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2731, allocations: 0 / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.2735, allocations: 128.9 kB / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.2736, allocations: 85.03 kB / 0.6353 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.2736, allocations: 0 / 0.6353 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.2737, allocations: 4.031 kB / 0.6353 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2738, allocations: 0 / 0.6353 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2738, allocations: 8 kB / 0.6353 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.997e-05/0.2739, allocations: 79.27 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2739, allocations: 4.156 kB / 0.6354 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.2743, allocations: 24 kB / 0.6354 GB, free: 0.6328 MB / 478.1 MB 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.0009503/0.2752, allocations: 0.6827 MB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.2755, allocations: 35.98 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2755, allocations: 3.938 kB / 0.6361 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.2756, allocations: 31.98 kB / 0.6361 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2759, allocations: 8 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2777, allocations: 1.2 MB / 0.6373 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.2782, allocations: 0.6807 MB / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.2783, allocations: 8.062 kB / 0.638 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.2783, allocations: 23.36 kB / 0.638 GB, free: 13.83 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2784, allocations: 0 / 0.638 GB, free: 13.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.246/1.525, allocations: 1.818 MB / 0.6398 GB, free: 12.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.86, allocations: 6.938 kB / 0.6398 GB, free: 12.14 MB / 494.1 MB (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 --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)