Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",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.006365/0.006365, allocations: 102.2 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 187.4 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9087/0.9087, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 67.89 kB / 0.5953 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3046, allocations: 82.02 MB / 0.6754 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001934/0.3066, allocations: 1.42 MB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.3073, allocations: 441.5 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3073, allocations: 0 / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.3073, allocations: 5.422 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.3074, allocations: 7.875 kB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.3075, allocations: 20.23 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3077, allocations: 60.83 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.3077, allocations: 12.34 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.3078, allocations: 23.14 kB / 0.6773 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.3079, allocations: 17.77 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3079, allocations: 3.562 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.3079, allocations: 3.562 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.3079, allocations: 6.438 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.308, allocations: 25.89 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.3081, allocations: 42.39 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3081, allocations: 1.062 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3081, allocations: 7.938 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3081, allocations: 0 / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005462/0.3086, allocations: 393 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.3087, allocations: 9.25 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.3087, allocations: 37.14 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.3087, allocations: 7.5 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3089, allocations: 170.9 kB / 0.678 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3089, allocations: 10.12 kB / 0.678 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.3089, allocations: 3.469 kB / 0.678 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.309, allocations: 52.95 kB / 0.6781 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.309, allocations: 1.156 kB / 0.6781 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.309, allocations: 0 / 0.6781 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3091, allocations: 4.984 kB / 0.6781 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.3091, allocations: 26.08 kB / 0.6781 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3095, allocations: 269 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.3096, allocations: 41.33 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.3096, allocations: 24.81 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3096, allocations: 1.406 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3098, allocations: 102 kB / 0.6785 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3098, allocations: 1.125 kB / 0.6785 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002502/0.31, allocations: 139.5 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3101, allocations: 92.5 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.3102, allocations: 112 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3102, allocations: 26.77 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3103, allocations: 89.39 kB / 0.6789 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3103, allocations: 15.47 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3104, allocations: 26.92 kB / 0.679 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3105, allocations: 320 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.3105, allocations: 20.52 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.3106, allocations: 41.88 kB / 0.6793 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3107, allocations: 113.5 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3107, allocations: 0 / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001597/0.3109, allocations: 121.3 kB / 0.6796 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.3109, allocations: 40.47 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3109, allocations: 5.188 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3109, allocations: 1.25 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.311, allocations: 3.312 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.311, allocations: 1.188 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.3111, allocations: 12.05 kB / 0.6796 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3111, allocations: 3.562 kB / 0.6796 GB, free: 13.06 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001094/0.3112, allocations: 155.2 kB / 0.6798 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3112, allocations: 8.328 kB / 0.6798 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.3112, allocations: 13.39 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3112, allocations: 5.062 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3113, allocations: 1.125 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3113, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.3116, allocations: 399.6 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3117, allocations: 0 / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.3117, allocations: 1.062 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3117, allocations: 0.9062 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3117, allocations: 2.5 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3117, allocations: 0 / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3117, allocations: 8.938 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3119, allocations: 239.9 kB / 0.6804 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.312, allocations: 83.34 kB / 0.6805 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.312, allocations: 2.406 kB / 0.6805 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.3121, allocations: 8.891 kB / 0.6805 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3122, allocations: 11.53 kB / 0.6805 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3122, allocations: 3.562 kB / 0.6805 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.3122, allocations: 92.95 kB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3122, allocations: 0 / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002154/0.3125, allocations: 14.25 kB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005018/0.313, allocations: 0.7634 MB / 0.6814 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.3131, allocations: 123.8 kB / 0.6815 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3131, allocations: 0 / 0.6815 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3132, allocations: 89.58 kB / 0.6816 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3135, allocations: 15.14 kB / 0.6816 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3148, allocations: 1.429 MB / 0.683 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3151, allocations: 0.6902 MB / 0.6837 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.3151, allocations: 7.406 kB / 0.6837 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.3152, allocations: 19.81 kB / 0.6837 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.3152, allocations: 0 / 0.6837 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/1.706, allocations: 1.899 MB / 0.6856 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/13, allocations: 5.25 kB / 0.6856 GB, free: 8.062 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)