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.001147/0.001151, allocations: 105.4 kB / 15.7 MB, free: 24 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.001271/0.001271, allocations: 198.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001399/0.001399, allocations: 70.8 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2261, allocations: 114.5 MB / 0.7837 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001973/0.2281, allocations: 0.5937 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.2284, allocations: 39.86 kB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.2284, allocations: 3.938 kB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.2284, allocations: 0 / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.2285, allocations: 4 kB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.2287, allocations: 11.98 kB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.2288, allocations: 7.984 kB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.2288, allocations: 7.984 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.2289, allocations: 7.938 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.2289, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.2289, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.229, allocations: 19.98 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2291, allocations: 3.938 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.2291, allocations: 3.938 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.791e-05/0.2292, allocations: 19.97 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2292, allocations: 4 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.657e-06/0.2292, allocations: 4 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2292, allocations: 3.984 kB / 0.7844 GB, free: 12.54 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.0003177/0.2295, allocations: 303.6 kB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2296, allocations: 12.06 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.2296, allocations: 30.75 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2299, allocations: 16.91 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.074e-05/0.23, allocations: 168.4 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.23, allocations: 384 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.23, allocations: 4.375 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2302, allocations: 38.25 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2302, allocations: 3.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2302, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2302, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.2303, allocations: 11.92 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.2304, allocations: 153.6 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.2305, allocations: 22.59 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.2306, allocations: 8.859 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2306, allocations: 4.062 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2306, allocations: 30.56 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2306, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002372/0.2309, allocations: 57.55 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.2309, allocations: 51.41 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.121e-05/0.231, allocations: 89.86 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.231, allocations: 25.7 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.231, allocations: 80.14 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2311, allocations: 3.906 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2311, allocations: 21.7 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2312, allocations: 315 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.2313, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.2313, allocations: 3.984 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.987e-05/0.2314, allocations: 16.84 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2314, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.2316, allocations: 45.69 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2316, allocations: 8 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2316, allocations: 3.938 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2316, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.2317, allocations: 11.98 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2317, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.2317, allocations: 4.219 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2317, allocations: 0 / 0.7859 GB, free: 10.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.2318, allocations: 116.7 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.2318, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.2319, allocations: 7.062 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2319, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2319, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2319, allocations: 7.984 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.232, allocations: 149.6 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.232, allocations: 0 / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.2321, allocations: 3.984 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2321, allocations: 4 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2321, allocations: 11.88 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2321, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2321, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2323, allocations: 65.06 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.2323, allocations: 81.11 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2323, allocations: 7.922 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.2324, allocations: 4.031 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.2324, allocations: 3.984 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2324, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.2324, allocations: 79.28 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2324, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001752/0.2326, allocations: 0 / 0.7864 GB, free: 10.16 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 (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.0004454/0.2331, allocations: 0.6085 MB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2332, allocations: 15.98 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2332, allocations: 0 / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.2333, allocations: 4 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2334, allocations: 4.922 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.2338, allocations: 122.7 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.234, allocations: 0.669 MB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.2341, allocations: 0 / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2341, allocations: 7.438 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2341, allocations: 0 / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.2522, allocations: 0.9538 MB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.58, allocations: 6.797 kB / 0.7887 GB, free: 7.754 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)