Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008449/0.0008445, allocations: 90.36 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 17.8 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.0009161/0.2311, allocations: 0.5691 MB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2323, allocations: 1.161 MB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.2323, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2324, allocations: 3.938 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.2325, allocations: 19.84 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.2329, allocations: 127.9 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.233, allocations: 143.6 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2332, allocations: 29.11 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.2332, allocations: 59.77 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.2333, allocations: 51.75 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.2334, allocations: 8 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.2334, allocations: 15.98 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2335, allocations: 23.91 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2335, allocations: 37.7 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2336, allocations: 116 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2336, allocations: 3.938 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2336, allocations: 0 / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2337, allocations: 4 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005228/0.2342, allocations: 436.7 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2342, allocations: 8.031 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2343, allocations: 42.56 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2343, allocations: 11.91 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.2348, allocations: 262.7 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2348, allocations: 8 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.2349, allocations: 16 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.2351, allocations: 93.58 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2351, allocations: 0 / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2351, allocations: 4 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2351, allocations: 4 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.2353, allocations: 51.95 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.2359, allocations: 400.4 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.236, allocations: 38.55 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.2361, allocations: 36.92 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2362, allocations: 3.938 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.2364, allocations: 99.3 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.2364, allocations: 4 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004065/0.2368, allocations: 145.7 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2368, allocations: 55.41 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.2369, allocations: 147.8 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.237, allocations: 33.8 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.237, allocations: 111.8 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.237, allocations: 31.59 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.2371, allocations: 8 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.2371, allocations: 322.8 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2373, allocations: 47.97 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2375, allocations: 136.4 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2376, allocations: 93.61 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2377, allocations: 11.95 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000434/0.2381, allocations: 247.3 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.2382, allocations: 33.7 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2382, allocations: 7.938 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2382, allocations: 8.031 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2383, allocations: 23.98 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2383, allocations: 11.92 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2386, allocations: 55.88 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2386, allocations: 8 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001159/0.2387, allocations: 129.8 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.2387, allocations: 11.86 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.2388, allocations: 12.72 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2388, allocations: 8 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2388, allocations: 0 / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2388, allocations: 3.984 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.2393, allocations: 410.2 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2393, allocations: 0 / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.2394, allocations: 19.98 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2394, allocations: 4 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2394, allocations: 0 / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2395, allocations: 0 / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2395, allocations: 4 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.2398, allocations: 263.2 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.2399, allocations: 85.02 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.2399, allocations: 0 / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.24, allocations: 8.031 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2401, allocations: 11.98 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2401, allocations: 8 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.2401, allocations: 108.3 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2401, allocations: 0 / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002632/0.2404, allocations: 31.91 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006258/0.241, allocations: 0.7991 MB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.2414, allocations: 191.3 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2414, allocations: 0 / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2415, allocations: 43.89 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2418, allocations: 25.42 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2431, allocations: 0.8934 MB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2433, allocations: 0.7045 MB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.25e-05/0.2434, allocations: 20.58 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.2435, allocations: 35.98 kB / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2435, allocations: 0 / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.2558, allocations: 2.815 MB / 0.9914 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.256, allocations: 231.6 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.881, allocations: 0 / 0.9916 GB, free: 14.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)