Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",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.0008411/0.0008411, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009881/0.0009882, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005106, allocations: 12.53 kB / 0.6738 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2405, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007394/0.2413, allocations: 319.6 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.2416, allocations: 51.84 kB / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.2416, allocations: 0 / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.2416, allocations: 0 / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.2417, allocations: 0 / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.2419, allocations: 15.97 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.2419, allocations: 0 / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.242, allocations: 4 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.242, allocations: 0 / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.242, allocations: 4 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.2421, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.2422, allocations: 19.97 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-06/0.2422, allocations: 0 / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.2422, allocations: 25.7 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.732e-05/0.2423, allocations: 11.98 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.2423, allocations: 0 / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.338e-06/0.2423, allocations: 3.938 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2423, allocations: 3.938 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002866/0.2426, allocations: 315.4 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2427, allocations: 12.09 kB / 0.7882 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.2427, allocations: 30.56 kB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.243, allocations: 19.95 kB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.2431, allocations: 167 kB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2431, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.2431, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2432, allocations: 37.69 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2432, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2433, allocations: 3.938 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2433, allocations: 0 / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.2433, allocations: 7.984 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.2435, allocations: 153.6 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.2436, allocations: 26.59 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.2436, allocations: 8.922 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2436, allocations: 3.984 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2437, allocations: 38.56 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.2437, allocations: 0 / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002089/0.2439, allocations: 45.62 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2439, allocations: 59.53 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.398e-05/0.244, allocations: 93.84 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.244, allocations: 25.7 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.244, allocations: 80.14 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.244, allocations: 3.906 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.2441, allocations: 0 / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.2442, allocations: 314.8 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.2442, allocations: 4 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.2442, allocations: 11.98 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.2443, allocations: 4 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2443, allocations: 0 / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001146/0.2444, allocations: 49.62 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2444, allocations: 6.812 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2445, allocations: 3.938 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2445, allocations: 7.938 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.2445, allocations: 4.094 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2446, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.2446, allocations: 4.281 kB / 0.7893 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.2446, allocations: 3.984 kB / 0.7893 GB, free: 9.652 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.639e-05/0.2447, allocations: 105.8 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.2447, allocations: 3.953 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2447, allocations: 3.125 kB / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2447, allocations: 7.984 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2448, allocations: 4 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2448, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.154e-05/0.2448, allocations: 149.6 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2449, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.2449, allocations: 4 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2449, allocations: 3.953 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2449, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2449, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2449, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.2451, allocations: 80.98 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.2451, allocations: 77.11 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2451, allocations: 3.953 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.958e-05/0.2452, allocations: 4 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.2452, allocations: 0 / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2452, allocations: 0 / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.2452, allocations: 79.27 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 4.031 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001766/0.2454, allocations: 4 kB / 0.7898 GB, free: 9.027 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003759/0.2458, allocations: 0.593 MB / 0.7904 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2459, allocations: 19.95 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2459, allocations: 0 / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.246, allocations: 7.984 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.2461, allocations: 11.89 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2464, allocations: 108.3 kB / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2467, allocations: 0.6692 MB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2467, allocations: 8.109 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.2467, allocations: 11.44 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2467, allocations: 0 / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.2571, allocations: 0.7544 MB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.2573, allocations: 196.5 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.945, allocations: 3.938 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: