Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.001678/0.001678, allocations: 97.83 kB / 16.4 MB, free: 6.438 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.001252/0.001252, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.033/2.033, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9087/0.9087, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002217, allocations: 69.64 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.00435/0.3466, allocations: 1.43 MB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.3474, allocations: 196.2 kB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.3475, allocations: 0 / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.3476, allocations: 0 / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.3477, allocations: 3.938 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.3482, allocations: 43.89 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3483, allocations: 23.92 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3486, allocations: 8 kB / 0.6332 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.3487, allocations: 15.92 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.3487, allocations: 4 kB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3488, allocations: 4 kB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.349, allocations: 31.97 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.349, allocations: 11.91 kB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3491, allocations: 11.94 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3493, allocations: 35.95 kB / 0.6334 GB, free: 3.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3493, allocations: 0 / 0.6334 GB, free: 3.078 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3493, allocations: 0 / 0.6334 GB, free: 3.078 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3493, allocations: 4 kB / 0.6334 GB, free: 3.074 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000777/0.3501, allocations: 346.3 kB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.669e-05/0.3502, allocations: 11.97 kB / 0.6337 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.3503, allocations: 34.69 kB / 0.6337 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3504, allocations: 4.938 kB / 0.6337 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3506, allocations: 168.2 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3506, allocations: 4.375 kB / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3506, allocations: 384 / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3509, allocations: 54.23 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3509, allocations: 3.938 kB / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.351, allocations: 7.984 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.351, allocations: 0 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.3512, allocations: 31.95 kB / 0.634 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.3518, allocations: 252.9 kB / 0.6342 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.352, allocations: 46.48 kB / 0.6343 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3521, allocations: 20.91 kB / 0.6343 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.3523, allocations: 81.11 kB / 0.6344 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3523, allocations: 30.56 kB / 0.6344 GB, free: 1.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3523, allocations: 0 / 0.6344 GB, free: 1.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005826/0.3529, allocations: 89.58 kB / 0.6345 GB, free: 1.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.353, allocations: 51.41 kB / 0.6345 GB, free: 1.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3532, allocations: 105.8 kB / 0.6346 GB, free: 1.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3532, allocations: 25.7 kB / 0.6347 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3534, allocations: 80.7 kB / 0.6347 GB, free: 1.426 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3534, allocations: 8.125 kB / 0.6348 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3535, allocations: 17.84 kB / 0.6348 GB, free: 1.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3537, allocations: 318.8 kB / 0.6351 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3539, allocations: 19.98 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.354, allocations: 11.98 kB / 0.6351 GB, free: 1.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3542, allocations: 40.81 kB / 0.6351 GB, free: 1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.3542, allocations: 4 kB / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003014/0.3546, allocations: 73.61 kB / 0.6352 GB, free: 0.918 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3546, allocations: 6.188 kB / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3546, allocations: 0 / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.3546, allocations: 0 / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3548, allocations: 11.98 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3548, allocations: 0 / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.3549, allocations: 7.984 kB / 0.6352 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3549, allocations: 7.969 kB / 0.6353 GB, free: 0.8867 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 (2): * Single equations (assignments): 2 * 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.0001267/0.3551, allocations: 109.8 kB / 0.6354 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.3551, allocations: 7.906 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.3555, allocations: 72.72 kB / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3555, allocations: 0 / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3555, allocations: 4.25 kB / 0.6354 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3555, allocations: 7.922 kB / 0.6354 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.3558, allocations: 165.6 kB / 0.6356 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3558, allocations: 0 / 0.6356 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.3559, allocations: 11.98 kB / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3559, allocations: 0 / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3559, allocations: 0 / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.356, allocations: 0 / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.356, allocations: 0 / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3563, allocations: 167.5 kB / 0.6358 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.3564, allocations: 77.11 kB / 0.6358 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3564, allocations: 0 / 0.6358 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3566, allocations: 7.984 kB / 0.6359 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3566, allocations: 4 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.3566, allocations: 4 kB / 0.6359 GB, free: 164 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.3567, allocations: 87.2 kB / 0.6359 GB, free: 76 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3567, allocations: 0 / 0.6359 GB, free: 76 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.3571, allocations: 12.03 kB / 0.636 GB, free: 64 kB / 478.1 MB 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 (2): * Single equations (assignments): 2 * 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.0009598/0.3581, allocations: 0.7045 MB / 0.6366 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.3585, allocations: 43.98 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3585, allocations: 0 / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3586, allocations: 19.92 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.3592, allocations: 4 kB / 0.6367 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.36, allocations: 135.3 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3604, allocations: 0.6769 MB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.3605, allocations: 8 kB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.3606, allocations: 7.438 kB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3606, allocations: 0 / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/0.5832, allocations: 1.459 MB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.73, allocations: 8.391 kB / 0.6389 GB, free: 12.99 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)