Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.982/0.982, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 101.5 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 267.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.351e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.557, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.7121, allocations: 108 MB / 0.8629 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.7123, allocations: 72.86 kB / 0.863 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003834/0.7162, allocations: 1.356 MB / 0.8643 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7162, allocations: 0 / 0.8643 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7162, allocations: 0 / 0.8643 GB, free: 2.348 MB / 0.5261 GB 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.0004453/0.7167, allocations: 350.4 kB / 0.8646 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.7167, allocations: 12.03 kB / 0.8647 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.7168, allocations: 0 / 0.8647 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.717, allocations: 170.9 kB / 0.8648 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.717, allocations: 11.95 kB / 0.8648 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.717, allocations: 0 / 0.8648 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.104e-05/0.7171, allocations: 8 kB / 0.8648 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.7172, allocations: 41.69 kB / 0.8649 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7172, allocations: 3.984 kB / 0.8649 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7172, allocations: 4 kB / 0.8649 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7172, allocations: 0 / 0.8649 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.7177, allocations: 245.4 kB / 0.8651 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.7178, allocations: 22.58 kB / 0.8651 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.7178, allocations: 16.92 kB / 0.8652 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.7179, allocations: 85.09 kB / 0.8652 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.718, allocations: 30.56 kB / 0.8653 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.718, allocations: 0 / 0.8653 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002066/0.7182, allocations: 37.7 kB / 0.8653 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.7182, allocations: 55.41 kB / 0.8654 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.7183, allocations: 96.92 kB / 0.8654 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.7183, allocations: 25.7 kB / 0.8655 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.7184, allocations: 88.17 kB / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.7184, allocations: 7.906 kB / 0.8656 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.7184, allocations: 0 / 0.8656 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7186, allocations: 314.8 kB / 0.8659 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.7186, allocations: 4 kB / 0.8659 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.7186, allocations: 3.938 kB / 0.8659 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.7187, allocations: 15.92 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7187, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.005e-05/0.7188, allocations: 49.72 kB / 0.8659 GB, free: 476 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7188, allocations: 4 kB / 0.8659 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7188, allocations: 0 / 0.8659 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7188, allocations: 0 / 0.8659 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.7189, allocations: 15.98 kB / 0.866 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.7189, allocations: 0 / 0.866 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.719, allocations: 7.984 kB / 0.866 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.719, allocations: 0 / 0.866 GB, free: 448 kB / 0.5261 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 () * 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 9.205e-05/0.7191, allocations: 113 kB / 0.8661 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.119e-05/0.7192, allocations: 45.56 kB / 0.8661 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.7192, allocations: 4 kB / 0.8661 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.7194, allocations: 45.44 kB / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7194, allocations: 0 / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7194, allocations: 0 / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7194, allocations: 0 / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.7196, allocations: 146.2 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7196, allocations: 8.016 kB / 0.8663 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.7196, allocations: 15.92 kB / 0.8663 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7196, allocations: 0 / 0.8663 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.7197, allocations: 0 / 0.8663 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7197, allocations: 256 / 0.8663 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7197, allocations: 0 / 0.8663 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.7199, allocations: 137.6 kB / 0.8665 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.7199, allocations: 92.95 kB / 0.8665 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7199, allocations: 4 kB / 0.8665 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.72, allocations: 4 kB / 0.8665 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.7201, allocations: 7.984 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.7201, allocations: 4 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.7201, allocations: 79.28 kB / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7201, allocations: 0 / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002245/0.7204, allocations: 11.94 kB / 0.8666 GB, free: 15.65 MB / 0.5417 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 () * 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.0005725/0.7209, allocations: 0.689 MB / 0.8673 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.721, allocations: 12 kB / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7211, allocations: 3.938 kB / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.7211, allocations: 11.98 kB / 0.8673 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.7213, allocations: 8.156 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7217, allocations: 93.53 kB / 0.8674 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.722, allocations: 0.6845 MB / 0.8681 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.7221, allocations: 1.484 kB / 0.8681 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.7221, allocations: 11.44 kB / 0.8681 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.7221, allocations: 0 / 0.8681 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.744, allocations: 0.8458 MB / 0.869 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.7443, allocations: 150 kB / 0.8691 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.619, allocations: 0 / 0.8691 GB, free: 13.02 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)