Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001157, allocations: 180.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008634/0.0008637, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.377e-05, allocations: 12 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6907/0.9294, allocations: 132.3 MB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.9298, allocations: 75.56 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006987/0.9368, allocations: 2.732 MB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd: time 4.859e-06/0.9368, allocations: 0 / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9369, allocations: 3.938 kB / 1.024 GB, free: 48 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006103/0.9375, allocations: 430.7 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9375, allocations: 12.03 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.9376, allocations: 38.23 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.9376, allocations: 19.81 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.9379, allocations: 212.4 kB / 1.025 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.9379, allocations: 7.188 kB / 1.025 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.938, allocations: 11.81 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.9382, allocations: 132.5 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.9382, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.9382, allocations: 2.875 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9382, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.9384, allocations: 56.69 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9394, allocations: 0.7617 MB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.9395, allocations: 37.39 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.9396, allocations: 25.3 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.9396, allocations: 6.672 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.9398, allocations: 104.9 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.9398, allocations: 0 / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0002286/0.94, allocations: 107.7 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.9401, allocations: 143.9 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.9403, allocations: 161.8 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.9403, allocations: 33.2 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.9404, allocations: 117.6 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.9404, allocations: 38.3 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.9404, allocations: 3.562 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9406, allocations: 325.5 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.9406, allocations: 22.62 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.9407, allocations: 116.2 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.9408, allocations: 38.3 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9408, allocations: 4 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002222/0.941, allocations: 161 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9411, allocations: 4 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9411, allocations: 7.938 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9411, allocations: 4.406 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.9412, allocations: 35.92 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9413, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.9414, allocations: 31.28 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.9414, allocations: 4 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.503e-05/0.9415, allocations: 128 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.9416, allocations: 19 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.9416, allocations: 20.66 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9416, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.9416, allocations: 7.984 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9417, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.9424, allocations: 0.4936 MB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9424, allocations: 4 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.9425, allocations: 19.98 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9425, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9425, allocations: 7.25 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9426, allocations: 0 / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9426, allocations: 11.92 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.9429, allocations: 359.5 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.943, allocations: 89.16 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.943, allocations: 7.688 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.9432, allocations: 20.03 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.9433, allocations: 15.95 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.9433, allocations: 7.75 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001053/0.9434, allocations: 141.8 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9434, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002971/0.9437, allocations: 23.75 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0007992/0.9445, allocations: 1.103 MB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.9447, allocations: 86.66 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9447, allocations: 4 kB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.9448, allocations: 33.88 kB / 1.029 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.9452, allocations: 42.98 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.946, allocations: 308.8 kB / 1.03 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.9463, allocations: 0.7205 MB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.942e-05/0.9464, allocations: 17.39 kB / 1.031 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.9465, allocations: 51.92 kB / 1.031 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9465, allocations: 0 / 1.031 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.9619, allocations: 3.104 MB / 1.034 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.9622, allocations: 183.8 kB / 1.034 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.666, allocations: 4.062 kB / 1.034 GB, free: 5.91 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)