Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.0006956/0.0006956, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008423/0.0008422, allocations: 170.2 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6093/0.6093, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 12 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001493/0.1182, allocations: 1.146 MB / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.1189, allocations: 436.2 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.119, allocations: 3.938 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.119, allocations: 0 / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.1191, allocations: 4 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1193, allocations: 19.92 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.1194, allocations: 23.92 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.1195, allocations: 4 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.1196, allocations: 7.984 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.1196, allocations: 19.92 kB / 0.5585 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1196, allocations: 0 / 0.5585 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.1197, allocations: 15.98 kB / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.1197, allocations: 7.922 kB / 0.5585 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1198, allocations: 29.7 kB / 0.5586 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.862e-05/0.1198, allocations: 15.97 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1199, allocations: 0 / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1199, allocations: 4 kB / 0.5586 GB, free: 9.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1199, allocations: 0 / 0.5586 GB, free: 9.902 MB / 430.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.0003952/0.1203, allocations: 347.5 kB / 0.5589 GB, free: 9.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1203, allocations: 8.031 kB / 0.5589 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.1204, allocations: 30.56 kB / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.1204, allocations: 4 kB / 0.559 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1205, allocations: 159.1 kB / 0.5591 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.1205, allocations: 0 / 0.5591 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1205, allocations: 4 kB / 0.5591 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1207, allocations: 69.55 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1207, allocations: 0 / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1207, allocations: 0 / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1207, allocations: 0 / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1209, allocations: 43.95 kB / 0.5592 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1212, allocations: 252.9 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1213, allocations: 54.48 kB / 0.5595 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.1214, allocations: 28.91 kB / 0.5595 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1215, allocations: 85.03 kB / 0.5596 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1216, allocations: 34.56 kB / 0.5596 GB, free: 8.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1216, allocations: 0 / 0.5596 GB, free: 8.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.00031/0.1219, allocations: 101.5 kB / 0.5597 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1219, allocations: 51.41 kB / 0.5598 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.122, allocations: 101.9 kB / 0.5599 GB, free: 8.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.122, allocations: 25.7 kB / 0.5599 GB, free: 8.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.1221, allocations: 88.12 kB / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1221, allocations: 11.91 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.1221, allocations: 11.94 kB / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.1222, allocations: 310.8 kB / 0.5603 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.1223, allocations: 19.98 kB / 0.5603 GB, free: 7.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.1224, allocations: 19.98 kB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.1224, allocations: 32.03 kB / 0.5604 GB, free: 7.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1224, allocations: 0 / 0.5604 GB, free: 7.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.1226, allocations: 77.62 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1226, allocations: 4 kB / 0.5605 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1227, allocations: 0 / 0.5605 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1227, allocations: 3.984 kB / 0.5605 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1228, allocations: 8 kB / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1228, allocations: 4 kB / 0.5605 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1228, allocations: 7.984 kB / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1228, allocations: 256 / 0.5605 GB, free: 7.699 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.1229, allocations: 121.8 kB / 0.5606 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1229, allocations: 3.953 kB / 0.5606 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.1231, allocations: 84.78 kB / 0.5607 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1232, allocations: 4.031 kB / 0.5607 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1232, allocations: 3.984 kB / 0.5607 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1232, allocations: 0 / 0.5607 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1233, allocations: 157.7 kB / 0.5608 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1233, allocations: 0 / 0.5608 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.1234, allocations: 11.98 kB / 0.5609 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1234, allocations: 0 / 0.5609 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1234, allocations: 3.953 kB / 0.5609 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1234, allocations: 0 / 0.5609 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1234, allocations: 3.938 kB / 0.5609 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1236, allocations: 183.4 kB / 0.561 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1237, allocations: 77.11 kB / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1237, allocations: 4.031 kB / 0.5611 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1238, allocations: 15.94 kB / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1238, allocations: 0 / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1238, allocations: 0 / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.636e-05/0.1239, allocations: 87.27 kB / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1239, allocations: 0 / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.1241, allocations: 12 kB / 0.5612 GB, free: 6.836 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004674/0.1245, allocations: 0.7053 MB / 0.5619 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1247, allocations: 51.98 kB / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1247, allocations: 0 / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1248, allocations: 27.92 kB / 0.562 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1251, allocations: 10.27 kB / 0.562 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.1255, allocations: 150 kB / 0.5621 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1257, allocations: 0.677 MB / 0.5628 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.364e-05/0.1257, allocations: 0 / 0.5628 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1257, allocations: 15.38 kB / 0.5628 GB, free: 5.117 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1257, allocations: 0 / 0.5628 GB, free: 5.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009902/0.1357, allocations: 1.142 MB / 0.5639 GB, free: 4.109 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.1358, allocations: 188.1 kB / 0.5641 GB, free: 3.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.555, allocations: 3.938 kB / 0.5641 GB, free: 3.859 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: