Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_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.001134/0.001134, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001151/0.001151, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2927, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002264/0.295, allocations: 1.409 MB / 0.5687 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005448/0.2956, allocations: 429.9 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2956, allocations: 1.281 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.2957, allocations: 6.922 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.2957, allocations: 6.188 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.2959, allocations: 23.48 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.296, allocations: 52.17 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.2961, allocations: 9.531 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.2961, allocations: 18.56 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.2962, allocations: 22.42 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2962, allocations: 4.344 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.2962, allocations: 4.938 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.2963, allocations: 12.19 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.2963, allocations: 20.31 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.2964, allocations: 40.78 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2964, allocations: 0.9062 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2964, allocations: 0.9688 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2964, allocations: 0 / 0.5693 GB, free: 31.34 MB / 446.1 MB 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.0004742/0.2969, allocations: 394.1 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2969, allocations: 10.5 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.297, allocations: 38.28 kB / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.297, allocations: 4.922 kB / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.2971, allocations: 173.2 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2971, allocations: 3.438 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.2971, allocations: 3.391 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.2972, allocations: 63.66 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2972, allocations: 0 / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2972, allocations: 1.719 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2973, allocations: 1.875 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.2973, allocations: 17.14 kB / 0.57 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.2976, allocations: 275 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.2977, allocations: 43.81 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.2977, allocations: 23.7 kB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2977, allocations: 2.672 kB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2979, allocations: 110.3 kB / 0.5704 GB, free: 30.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2979, allocations: 0 / 0.5704 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002283/0.2981, allocations: 145.6 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2982, allocations: 80.83 kB / 0.5706 GB, free: 30.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.2982, allocations: 111.8 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2983, allocations: 27.89 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.2983, allocations: 86.7 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2983, allocations: 21.84 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2983, allocations: 25.14 kB / 0.5709 GB, free: 29.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.2984, allocations: 322.4 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.2984, allocations: 14.72 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.2985, allocations: 43.52 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.2986, allocations: 106.8 kB / 0.5713 GB, free: 29.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2986, allocations: 1.625 kB / 0.5713 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001272/0.2987, allocations: 124.6 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.2987, allocations: 32.98 kB / 0.5715 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2987, allocations: 0 / 0.5715 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2988, allocations: 3.203 kB / 0.5715 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.2988, allocations: 8.719 kB / 0.5715 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2988, allocations: 2.375 kB / 0.5715 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.2989, allocations: 14.83 kB / 0.5715 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2989, allocations: 3.812 kB / 0.5715 GB, free: 29.18 MB / 446.1 MB 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 6.857e-05/0.299, allocations: 152 kB / 0.5717 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.299, allocations: 3.25 kB / 0.5717 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.299, allocations: 15.78 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.299, allocations: 5.234 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.299, allocations: 1.062 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.299, allocations: 0.8906 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.2993, allocations: 405.6 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2993, allocations: 0 / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-06/0.2994, allocations: 3.594 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2994, allocations: 1.344 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2994, allocations: 1.594 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2994, allocations: 4.875 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2994, allocations: 6 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2996, allocations: 235.3 kB / 0.5723 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.2996, allocations: 84 kB / 0.5724 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2996, allocations: 3.172 kB / 0.5724 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.2997, allocations: 8.578 kB / 0.5724 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2998, allocations: 13.91 kB / 0.5724 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2998, allocations: 2.438 kB / 0.5724 GB, free: 28.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.2998, allocations: 93.88 kB / 0.5725 GB, free: 28.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2998, allocations: 0 / 0.5725 GB, free: 28.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.3001, allocations: 15.5 kB / 0.5725 GB, free: 28.25 MB / 446.1 MB 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.0003125/0.3004, allocations: 0.7651 MB / 0.5733 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.3005, allocations: 123.9 kB / 0.5734 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3005, allocations: 1.062 kB / 0.5734 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.3006, allocations: 87.27 kB / 0.5735 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3009, allocations: 21.7 kB / 0.5735 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.3018, allocations: 1.417 MB / 0.5749 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.3019, allocations: 0.6877 MB / 0.5756 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.3019, allocations: 8.688 kB / 0.5756 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.302, allocations: 17.11 kB / 0.5756 GB, free: 25.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.302, allocations: 3.938 kB / 0.5756 GB, free: 25.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/0.5185, allocations: 1.835 MB / 0.5774 GB, free: 24.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.992, allocations: 10.53 kB / 0.5774 GB, free: 24.99 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)