Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_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.001095/0.001095, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00128/0.001281, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.175/2.175, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.248/1.248, allocations: 132.3 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005178, allocations: 8.906 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8925, allocations: 81.57 MB / 0.5829 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003234/0.8958, allocations: 1.129 MB / 0.5841 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.8971, allocations: 408.9 kB / 0.5844 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.8971, allocations: 5.094 kB / 0.5844 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.8972, allocations: 4.688 kB / 0.5845 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.8973, allocations: 11.33 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.8976, allocations: 10.92 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.8977, allocations: 34.61 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8979, allocations: 4.781 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.898, allocations: 17.59 kB / 0.5845 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.8981, allocations: 22.44 kB / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.8982, allocations: 2.219 kB / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.8982, allocations: 1.219 kB / 0.5846 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.8983, allocations: 8.609 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.8983, allocations: 33.14 kB / 0.5846 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.8985, allocations: 32.91 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8985, allocations: 0.6875 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.8985, allocations: 0 / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.8985, allocations: 0 / 0.5846 GB, free: 2.781 MB / 430.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.0009115/0.8995, allocations: 393.2 kB / 0.585 GB, free: 2.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.845e-05/0.8996, allocations: 13.72 kB / 0.585 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.8996, allocations: 33.16 kB / 0.585 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.8997, allocations: 2.781 kB / 0.585 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.8999, allocations: 172.2 kB / 0.5852 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.9, allocations: 10.41 kB / 0.5852 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.9, allocations: 2.531 kB / 0.5852 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.9002, allocations: 46.77 kB / 0.5853 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.9002, allocations: 0 / 0.5853 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.9003, allocations: 9.375 kB / 0.5853 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.9003, allocations: 0.875 kB / 0.5853 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.9004, allocations: 20.36 kB / 0.5853 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.9011, allocations: 273.7 kB / 0.5856 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.9013, allocations: 40.16 kB / 0.5856 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.9014, allocations: 1 kB / 0.5856 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.9018, allocations: 113.8 kB / 0.5857 GB, free: 1.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.9018, allocations: 0 / 0.5857 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005778/0.9024, allocations: 221.5 kB / 0.5859 GB, free: 1.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.9025, allocations: 80.97 kB / 0.586 GB, free: 1.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.9026, allocations: 118.9 kB / 0.5861 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.9026, allocations: 27.69 kB / 0.5861 GB, free: 1.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.9027, allocations: 86.27 kB / 0.5862 GB, free: 1.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.9027, allocations: 20.34 kB / 0.5862 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.9028, allocations: 1.375 kB / 0.5862 GB, free: 1.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.9029, allocations: 318.4 kB / 0.5865 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.9029, allocations: 14.67 kB / 0.5866 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.903, allocations: 36.36 kB / 0.5866 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.9031, allocations: 46.53 kB / 0.5866 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9032, allocations: 4 kB / 0.5866 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002862/0.9035, allocations: 126.1 kB / 0.5868 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.9035, allocations: 34.59 kB / 0.5868 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9036, allocations: 1.75 kB / 0.5868 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.9036, allocations: 1.156 kB / 0.5868 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.9037, allocations: 11.36 kB / 0.5868 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.9037, allocations: 2.266 kB / 0.5868 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.9038, allocations: 15.83 kB / 0.5868 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.9039, allocations: 4.391 kB / 0.5868 GB, free: 0.6016 MB / 430.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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.904, allocations: 150.3 kB / 0.587 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.9041, allocations: 15.73 kB / 0.587 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.9042, allocations: 11.42 kB / 0.587 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.9042, allocations: 0.6094 kB / 0.587 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.9042, allocations: 1.281 kB / 0.587 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.9042, allocations: 0.6094 kB / 0.587 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.9048, allocations: 399.1 kB / 0.5874 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.9048, allocations: 5.359 kB / 0.5874 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.9049, allocations: 1.406 kB / 0.5874 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.9049, allocations: 2.219 kB / 0.5874 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.9049, allocations: 2.094 kB / 0.5874 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9049, allocations: 3.938 kB / 0.5874 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9049, allocations: 3.953 kB / 0.5874 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.9054, allocations: 233 kB / 0.5876 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.9056, allocations: 79.55 kB / 0.5877 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.9056, allocations: 10.75 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.9058, allocations: 11.23 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.9059, allocations: 10.34 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.906, allocations: 4.062 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.9061, allocations: 91.25 kB / 0.5878 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9061, allocations: 0 / 0.5878 GB, free: 15.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004598/0.9066, allocations: 18.44 kB / 0.5878 GB, free: 15.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.9077, allocations: 0.7655 MB / 0.5886 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.9081, allocations: 110 kB / 0.5887 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9082, allocations: 0 / 0.5887 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.9084, allocations: 92.34 kB / 0.5888 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.9088, allocations: 16.47 kB / 0.5888 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.9107, allocations: 0.7887 MB / 0.5896 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.9112, allocations: 0.6873 MB / 0.5902 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.9113, allocations: 5.344 kB / 0.5902 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.9114, allocations: 19.62 kB / 0.5903 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.9114, allocations: 1.438 kB / 0.5903 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.9339, allocations: 1.566 MB / 0.5918 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/0.9344, allocations: 167.8 kB / 0.5919 GB, free: 12.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.59, allocations: 0 / 0.5919 GB, free: 12.95 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: