Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001129/0.001129, allocations: 101.4 kB / 15.7 MB, free: 28 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.001119/0.001118, allocations: 197 kB / 16.64 MB, free: 6.582 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.707/1.707, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.001407/0.001407, allocations: 67.31 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2032, allocations: 114.6 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002151/0.2054, allocations: 0.7628 MB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2071, allocations: 1.246 MB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.2072, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.2073, allocations: 11.86 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.2074, allocations: 15.86 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.2081, allocations: 253.6 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2084, allocations: 263.5 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2086, allocations: 20.2 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2087, allocations: 103.8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2088, allocations: 95.73 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.2089, allocations: 28 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.209, allocations: 39.92 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.209, allocations: 27.92 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.2091, allocations: 91.73 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.2094, allocations: 223.7 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2094, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2094, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.2094, allocations: 0 / 0.7867 GB, free: 10.02 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008252/0.2103, allocations: 0.5023 MB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2103, allocations: 8.031 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.2104, allocations: 42.67 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.2105, allocations: 20.84 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.211, allocations: 248.2 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2111, allocations: 16.36 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.2111, allocations: 20.38 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2114, allocations: 142.9 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2114, allocations: 0 / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2114, allocations: 4 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2114, allocations: 0 / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2115, allocations: 63.89 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.2124, allocations: 0.5173 MB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.2127, allocations: 161.1 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.2128, allocations: 61.69 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2129, allocations: 12 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.2133, allocations: 200.9 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.2133, allocations: 0 / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005791/0.2139, allocations: 317.2 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.214, allocations: 89.05 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2141, allocations: 126.1 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.2142, allocations: 41.7 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.2143, allocations: 96.75 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.2143, allocations: 55.34 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.2145, allocations: 77.69 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2146, allocations: 330.8 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2148, allocations: 84.23 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.2151, allocations: 152.2 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.2154, allocations: 250.4 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2154, allocations: 0 / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006192/0.216, allocations: 368.5 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.2161, allocations: 63.41 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2161, allocations: 4 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.2162, allocations: 7.984 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2163, allocations: 19.88 kB / 0.7907 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2163, allocations: 4 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.2167, allocations: 75.98 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.2167, allocations: 16 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000164/0.2169, allocations: 144 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2169, allocations: 11.91 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.217, allocations: 16.48 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.217, allocations: 7.938 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.217, allocations: 4 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.217, allocations: 0 / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.2177, allocations: 0.607 MB / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2177, allocations: 3.984 kB / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.2177, allocations: 8 kB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2178, allocations: 3.938 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2178, allocations: 7.984 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2178, allocations: 0 / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2178, allocations: 4 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.2183, allocations: 426.4 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2183, allocations: 88.95 kB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.2184, allocations: 11.94 kB / 0.7921 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2185, allocations: 15.97 kB / 0.7921 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.2186, allocations: 19.97 kB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2186, allocations: 16.08 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.2187, allocations: 102 kB / 0.7922 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2187, allocations: 0 / 0.7922 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003736/0.2191, allocations: 55.98 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009316/0.22, allocations: 0.9645 MB / 0.7932 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.2207, allocations: 362.4 kB / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2207, allocations: 0 / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2209, allocations: 115.9 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.2214, allocations: 23.97 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.2241, allocations: 2.276 MB / 0.7959 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2243, allocations: 0.7125 MB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.2244, allocations: 17.55 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.2245, allocations: 35.42 kB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.2245, allocations: 0 / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.2437, allocations: 4.076 MB / 0.8006 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/7.998, allocations: 0.875 kB / 0.8006 GB, free: 11.19 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)