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.268/1.268, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 178.9 kB / 325.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205 MB / 0.576 GB, free: 20.97 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.0006921/0.0006923, allocations: 83.98 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 11.97 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001349/0.154, allocations: 1.461 MB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000481/0.1545, allocations: 300.8 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.1547, allocations: 0 / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1548, allocations: 23.8 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.1548, allocations: 11.86 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.155, allocations: 47.95 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1552, allocations: 147.5 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1553, allocations: 49.75 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.1553, allocations: 39.78 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.1554, allocations: 43.7 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1554, allocations: 8 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.1554, allocations: 4 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.1555, allocations: 23.86 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.1555, allocations: 55.61 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.1556, allocations: 127.4 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1556, allocations: 0 / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1556, allocations: 0 / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1556, allocations: 0 / 0.8985 GB, free: 65.67 MB / 0.6042 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.0004416/0.1561, allocations: 450.8 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1561, allocations: 8.031 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.1562, allocations: 42.73 kB / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.1562, allocations: 16.75 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1563, allocations: 212.7 kB / 0.8992 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1564, allocations: 12.36 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1564, allocations: 12.38 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1566, allocations: 157.7 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1566, allocations: 7.938 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1566, allocations: 4 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1566, allocations: 4 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1568, allocations: 83.89 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1574, allocations: 0.743 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1576, allocations: 54.55 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.1577, allocations: 36.84 kB / 0.9003 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1577, allocations: 4 kB / 0.9003 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1579, allocations: 134.7 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.1579, allocations: 0 / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003755/0.1583, allocations: 177.5 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1583, allocations: 140.4 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1584, allocations: 198.2 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1585, allocations: 29.7 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1585, allocations: 116 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1585, allocations: 35.69 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1586, allocations: 25.72 kB / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.1586, allocations: 330.8 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1587, allocations: 39.97 kB / 0.9014 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1588, allocations: 134.7 kB / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1591, allocations: 183.8 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1591, allocations: 0 / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002976/0.1594, allocations: 197.1 kB / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1594, allocations: 11.94 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1594, allocations: 4.406 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1594, allocations: 8 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.1595, allocations: 31.91 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1595, allocations: 4 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1596, allocations: 31.83 kB / 0.902 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1597, allocations: 8 kB / 0.902 GB, free: 61.66 MB / 0.6042 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.1597, allocations: 133.7 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1598, allocations: 20.23 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.1598, allocations: 21.39 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1598, allocations: 7.984 kB / 0.9022 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1598, allocations: 4 kB / 0.9022 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1598, allocations: 4 kB / 0.9022 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.1603, allocations: 0.5249 MB / 0.9027 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1603, allocations: 0 / 0.9027 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1605, allocations: 23.92 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1605, allocations: 0 / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1605, allocations: 12 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1605, allocations: 0 / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1605, allocations: 0 / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1608, allocations: 380 kB / 0.9031 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1609, allocations: 92.95 kB / 0.9032 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1609, allocations: 8 kB / 0.9032 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1611, allocations: 19.98 kB / 0.9032 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1611, allocations: 7.984 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1611, allocations: 8 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.1612, allocations: 140.2 kB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1612, allocations: 0 / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002622/0.1615, allocations: 27.94 kB / 0.9034 GB, free: 60.14 MB / 0.6042 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,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (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.0005048/0.162, allocations: 0.9163 MB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1622, allocations: 115.9 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1622, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1624, allocations: 55.91 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1628, allocations: 44.66 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1644, allocations: 2.241 MB / 0.9067 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1646, allocations: 0.7244 MB / 0.9074 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.1646, allocations: 13.42 kB / 0.9074 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1647, allocations: 47.42 kB / 0.9075 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.1647, allocations: 0 / 0.9075 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/0.402, allocations: 3.132 MB / 0.9105 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.4022, allocations: 242.7 kB / 0.9108 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.09, allocations: 4 kB / 0.9108 GB, free: 52.54 MB / 0.6042 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)