Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.001135/0.001135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001152/0.001152, allocations: 189.1 kB / 16.62 MB, free: 6.613 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.558/1.558, 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.761/1.761, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00152/0.001521, allocations: 75.05 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2901, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002192/0.2923, allocations: 0.6706 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2939, allocations: 1.176 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.294, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.294, allocations: 3.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.2941, allocations: 11.94 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.2946, allocations: 154.8 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.2948, allocations: 127.8 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.2949, allocations: 8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.295, allocations: 59.88 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2951, allocations: 51.86 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.2951, allocations: 8 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.2952, allocations: 27.94 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.2952, allocations: 23.95 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.2953, allocations: 39.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.2955, allocations: 116 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2955, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.797e-06/0.2955, allocations: 7.984 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.2955, allocations: 4 kB / 0.7861 GB, free: 10.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006208/0.2961, allocations: 397 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2962, allocations: 8.031 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.2962, allocations: 42.67 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.2963, allocations: 4.938 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2964, allocations: 172.3 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2964, allocations: 4.375 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2965, allocations: 12.36 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.2967, allocations: 70.22 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2967, allocations: 3.938 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2967, allocations: 7.984 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2967, allocations: 0 / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2969, allocations: 47.84 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.2974, allocations: 312.9 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2976, allocations: 74.48 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2977, allocations: 41.91 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2978, allocations: 0 / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.2981, allocations: 111.2 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2981, allocations: 0 / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004908/0.2986, allocations: 173.6 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2987, allocations: 59.41 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.2988, allocations: 117.7 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.2988, allocations: 37.69 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.2989, allocations: 88.14 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.2989, allocations: 15.8 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.299, allocations: 37.69 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2991, allocations: 322.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2993, allocations: 51.97 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2994, allocations: 78.47 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2997, allocations: 116.2 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2997, allocations: 0 / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004053/0.3001, allocations: 203.1 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3001, allocations: 38.55 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3002, allocations: 0 / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3002, allocations: 0 / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3003, allocations: 19.92 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3003, allocations: 7.984 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3005, allocations: 27.97 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3005, allocations: 11.98 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000106/0.3006, allocations: 128.9 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.3007, allocations: 3.906 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.3007, allocations: 20.3 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3007, allocations: 0 / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3007, allocations: 0 / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3007, allocations: 3.984 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3012, allocations: 402.4 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3012, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3013, allocations: 11.94 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3013, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3013, allocations: 7.984 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3013, allocations: 0 / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3013, allocations: 0 / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3017, allocations: 243.3 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.3017, allocations: 81.02 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3018, allocations: 8 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.3019, allocations: 7.984 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3019, allocations: 7.984 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3019, allocations: 7.938 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.302, allocations: 87.28 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.302, allocations: 0 / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002592/0.3023, allocations: 28.45 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006794/0.3029, allocations: 0.7903 MB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3033, allocations: 175.3 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3033, allocations: 0 / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3035, allocations: 63.89 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3038, allocations: 22.8 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3058, allocations: 1.65 MB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3061, allocations: 0.6885 MB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.3061, allocations: 8.672 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.3062, allocations: 23.42 kB / 0.793 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.3062, allocations: 0 / 0.793 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.3252, allocations: 2.715 MB / 0.7956 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.651, allocations: 3.938 kB / 0.7956 GB, free: 0.5312 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)