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.007143/0.007143, allocations: 101.4 kB / 15.88 MB, free: 6.312 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.001621/0.001621, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.293/1.293, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6627/0.6627, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.23 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002234/0.1173, allocations: 1.497 MB / 0.5573 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.1177, allocations: 192.3 kB / 0.5575 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1178, allocations: 4 kB / 0.5575 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.1178, allocations: 0 / 0.5575 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1178, allocations: 3.938 kB / 0.5575 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.118, allocations: 23.97 kB / 0.5575 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.318e-05/0.1181, allocations: 23.94 kB / 0.5575 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.1181, allocations: 7.984 kB / 0.5575 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.1182, allocations: 11.94 kB / 0.5576 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.1182, allocations: 11.97 kB / 0.5576 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1182, allocations: 0 / 0.5576 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.1183, allocations: 31.97 kB / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1183, allocations: 7.938 kB / 0.5576 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1184, allocations: 7.938 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.1185, allocations: 39.92 kB / 0.5577 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1185, allocations: 0 / 0.5577 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1185, allocations: 4 kB / 0.5577 GB, free: 8.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1185, allocations: 0 / 0.5577 GB, free: 8.848 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.0003673/0.1188, allocations: 347.7 kB / 0.558 GB, free: 8.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1189, allocations: 11.97 kB / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1189, allocations: 34.75 kB / 0.558 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.119, allocations: 4.875 kB / 0.558 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.1191, allocations: 168.3 kB / 0.5582 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1191, allocations: 4.359 kB / 0.5582 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.1191, allocations: 4.375 kB / 0.5582 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1192, allocations: 50.19 kB / 0.5583 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.1192, allocations: 3.938 kB / 0.5583 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1193, allocations: 3.984 kB / 0.5583 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1193, allocations: 4 kB / 0.5583 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1194, allocations: 27.97 kB / 0.5583 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.1197, allocations: 260.9 kB / 0.5585 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1198, allocations: 34.5 kB / 0.5586 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.1199, allocations: 20.91 kB / 0.5586 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.12, allocations: 85.09 kB / 0.5587 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.12, allocations: 30.56 kB / 0.5587 GB, free: 7.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.12, allocations: 4 kB / 0.5587 GB, free: 7.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.1203, allocations: 85.58 kB / 0.5588 GB, free: 7.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.1204, allocations: 51.41 kB / 0.5588 GB, free: 7.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.1204, allocations: 101.9 kB / 0.5589 GB, free: 7.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1205, allocations: 25.7 kB / 0.559 GB, free: 7.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.1205, allocations: 88.12 kB / 0.559 GB, free: 7.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.1205, allocations: 8.031 kB / 0.5591 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.1206, allocations: 13.72 kB / 0.5591 GB, free: 7.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.1207, allocations: 314.8 kB / 0.5594 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.1207, allocations: 15.98 kB / 0.5594 GB, free: 6.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.1208, allocations: 19.97 kB / 0.5594 GB, free: 6.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.121, allocations: 40.89 kB / 0.5594 GB, free: 6.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.121, allocations: 3.938 kB / 0.5594 GB, free: 6.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.1211, allocations: 73.58 kB / 0.5595 GB, free: 6.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1212, allocations: 6.188 kB / 0.5595 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1212, allocations: 0 / 0.5595 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1212, allocations: 0 / 0.5595 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.1213, allocations: 12.23 kB / 0.5595 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1213, allocations: 0 / 0.5595 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1213, allocations: 15.97 kB / 0.5595 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.1213, allocations: 0 / 0.5595 GB, free: 6.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.1214, allocations: 117.7 kB / 0.5597 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1214, allocations: 11.89 kB / 0.5597 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.1216, allocations: 72.7 kB / 0.5597 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1216, allocations: 0 / 0.5597 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1217, allocations: 8.031 kB / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1217, allocations: 0 / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1218, allocations: 161.6 kB / 0.5599 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1218, allocations: 0 / 0.5599 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1219, allocations: 7.984 kB / 0.5599 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1219, allocations: 4 kB / 0.5599 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1219, allocations: 0 / 0.5599 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1219, allocations: 3.938 kB / 0.5599 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1219, allocations: 0 / 0.5599 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1221, allocations: 163.5 kB / 0.5601 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.1221, allocations: 77.11 kB / 0.5601 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1222, allocations: 7.984 kB / 0.5602 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1222, allocations: 4 kB / 0.5602 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1223, allocations: 7.984 kB / 0.5602 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1223, allocations: 0 / 0.5602 GB, free: 5.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1223, allocations: 87.25 kB / 0.5602 GB, free: 5.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1223, allocations: 0 / 0.5602 GB, free: 5.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1225, allocations: 12 kB / 0.5603 GB, free: 5.832 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 (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.0004728/0.123, allocations: 0.7124 MB / 0.561 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1232, allocations: 31.97 kB / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1232, allocations: 0 / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.1233, allocations: 19.92 kB / 0.561 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1235, allocations: 8 kB / 0.561 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.1239, allocations: 153 kB / 0.5612 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1241, allocations: 0.677 MB / 0.5618 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.068e-05/0.1241, allocations: 0 / 0.5618 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1241, allocations: 7.438 kB / 0.5618 GB, free: 4.133 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1241, allocations: 0 / 0.5618 GB, free: 4.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4632/0.5873, allocations: 1.243 MB / 0.563 GB, free: 2.984 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.5876, allocations: 199.7 kB / 0.5632 GB, free: 2.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.778, allocations: 0 / 0.5632 GB, free: 2.727 MB / 430.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)