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.745/1.745, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.00115/0.00115, allocations: 174.1 kB / 371.8 MB, free: 10.3 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.808/1.808, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001401/0.001401, allocations: 97.09 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004723, allocations: 17.89 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3269, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001379/0.3283, allocations: 0.573 MB / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3297, allocations: 1.138 MB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.3298, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.3299, allocations: 3.938 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.33, allocations: 23.91 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.3305, allocations: 130.9 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3306, allocations: 91.81 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3308, allocations: 25.11 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.3309, allocations: 51.83 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.331, allocations: 59.75 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.331, allocations: 8 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.3311, allocations: 23.97 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3311, allocations: 15.92 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3312, allocations: 41.7 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.3313, allocations: 112 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3313, allocations: 0 / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3313, allocations: 0 / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3314, allocations: 0 / 0.9817 GB, free: 25.3 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.0006584/0.332, allocations: 440.6 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3321, allocations: 8.031 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.3321, allocations: 42.55 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3322, allocations: 11.91 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.3328, allocations: 268.7 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3328, allocations: 8 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3328, allocations: 12 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3331, allocations: 96.39 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3331, allocations: 0 / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3331, allocations: 4 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3331, allocations: 4 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3333, allocations: 55.95 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.334, allocations: 392.4 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3341, allocations: 38.56 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3341, allocations: 7.953 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3343, allocations: 103.3 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.3343, allocations: 4 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003847/0.3347, allocations: 153.4 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3348, allocations: 51.41 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.3349, allocations: 152.4 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3349, allocations: 29.7 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.335, allocations: 115.9 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.335, allocations: 27.61 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.335, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.3351, allocations: 326.8 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3352, allocations: 55.95 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3354, allocations: 131.1 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3355, allocations: 101.6 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3355, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003978/0.3359, allocations: 247 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.336, allocations: 37.7 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.336, allocations: 4 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.336, allocations: 4 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3361, allocations: 31.91 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3362, allocations: 8.266 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3364, allocations: 51.81 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3365, allocations: 19.98 kB / 0.9846 GB, free: 22.03 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 9.451e-05/0.3366, allocations: 129.8 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3366, allocations: 11.86 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.3366, allocations: 16.7 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3366, allocations: 0 / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3366, allocations: 0 / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3366, allocations: 0 / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3371, allocations: 422.5 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3371, allocations: 0 / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.3372, allocations: 15.98 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3372, allocations: 0 / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3373, allocations: 11.98 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3373, allocations: 0 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3373, allocations: 0 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.3376, allocations: 248.7 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.3377, allocations: 89.05 kB / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3377, allocations: 0 / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.3378, allocations: 19.94 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3378, allocations: 7.984 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3378, allocations: 7.984 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.3379, allocations: 102.2 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3379, allocations: 0 / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002725/0.3382, allocations: 31.91 kB / 0.9857 GB, free: 20.85 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.0005907/0.3388, allocations: 0.7982 MB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.3391, allocations: 191.2 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3391, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3392, allocations: 44.95 kB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3395, allocations: 24.11 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3405, allocations: 2.391 MB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3407, allocations: 0.7126 MB / 0.9898 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.951e-05/0.3408, allocations: 16.64 kB / 0.9898 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.3408, allocations: 35.42 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3408, allocations: 0 / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.3558, allocations: 2.74 MB / 0.9925 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.356, allocations: 214.9 kB / 0.9927 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.973, allocations: 0 / 0.9927 GB, free: 13.68 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)