Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 106.5 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 217.1 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.629 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1994/0.1994, allocations: 46.89 MB / 359.3 MB, free: 4.992 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 79.86 kB / 0.494 GB, free: 9.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2601, allocations: 65.98 MB / 0.5584 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001434/0.2615, allocations: 0.4924 MB / 0.5589 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.2623, allocations: 381.2 kB / 0.5592 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.2623, allocations: 3.938 kB / 0.5592 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.2623, allocations: 0 / 0.5592 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-06/0.2623, allocations: 0 / 0.5592 GB, free: 4.406 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.263, allocations: 191.6 kB / 0.5594 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.746e-05/0.263, allocations: 8 kB / 0.5594 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.263, allocations: 4 kB / 0.5594 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-06/0.2631, allocations: 0 / 0.5594 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.54e-05/0.2631, allocations: 0 / 0.5594 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-06/0.2631, allocations: 0 / 0.5594 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2634, allocations: 207.6 kB / 0.5596 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-06/0.2634, allocations: 0 / 0.5596 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.2634, allocations: 4 kB / 0.5596 GB, free: 4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2637, allocations: 153.4 kB / 0.5598 GB, free: 3.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2637, allocations: 0 / 0.5598 GB, free: 3.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2637, allocations: 0 / 0.5598 GB, free: 3.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2637, allocations: 4 kB / 0.5598 GB, free: 3.848 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003616/0.264, allocations: 371.4 kB / 0.5601 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2641, allocations: 8.031 kB / 0.5601 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.2641, allocations: 30.75 kB / 0.5602 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.2641, allocations: 4.938 kB / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2642, allocations: 160.4 kB / 0.5603 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.2642, allocations: 8.312 kB / 0.5603 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2642, allocations: 8.297 kB / 0.5603 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.2643, allocations: 30.27 kB / 0.5604 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2643, allocations: 7.938 kB / 0.5604 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.2643, allocations: 4 kB / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.2643, allocations: 0 / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.336e-05/0.2643, allocations: 0 / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2645, allocations: 145.7 kB / 0.5605 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.2645, allocations: 22.59 kB / 0.5605 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.2645, allocations: 8.797 kB / 0.5606 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.2645, allocations: 0 / 0.5606 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2646, allocations: 64.33 kB / 0.5606 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2646, allocations: 0 / 0.5606 GB, free: 2.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.2647, allocations: 71.28 kB / 0.5607 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.2648, allocations: 85.09 kB / 0.5608 GB, free: 2.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.2648, allocations: 89.86 kB / 0.5609 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2648, allocations: 29.64 kB / 0.5609 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2649, allocations: 84.12 kB / 0.561 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2649, allocations: 4.125 kB / 0.561 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.2649, allocations: 13.72 kB / 0.561 GB, free: 2.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.265, allocations: 310.8 kB / 0.5613 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.265, allocations: 3.938 kB / 0.5613 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.265, allocations: 0 / 0.5613 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.2651, allocations: 64.27 kB / 0.5613 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2651, allocations: 0 / 0.5613 GB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.643e-05/0.2652, allocations: 63.48 kB / 0.5614 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.2652, allocations: 33.7 kB / 0.5614 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2652, allocations: 7.938 kB / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.2652, allocations: 0 / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2652, allocations: 0 / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2652, allocations: 0 / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.2652, allocations: 0 / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.2652, allocations: 0 / 0.5614 GB, free: 1.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 9.188e-05/0.2653, allocations: 147.5 kB / 0.5616 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.2653, allocations: 0 / 0.5616 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-06/0.2653, allocations: 11.06 kB / 0.5616 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.2653, allocations: 0 / 0.5616 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2653, allocations: 0 / 0.5616 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.2654, allocations: 0 / 0.5616 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.2654, allocations: 149.7 kB / 0.5617 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2655, allocations: 0 / 0.5617 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.2655, allocations: 0 / 0.5617 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2655, allocations: 3.938 kB / 0.5617 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2655, allocations: 3.938 kB / 0.5617 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.2655, allocations: 0 / 0.5617 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2655, allocations: 4 kB / 0.5617 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.143e-05/0.2656, allocations: 94.83 kB / 0.5618 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.2656, allocations: 77.11 kB / 0.5619 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2656, allocations: 7.938 kB / 0.5619 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-06/0.2656, allocations: 0 / 0.5619 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2656, allocations: 0 / 0.5619 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2656, allocations: 0 / 0.5619 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.2657, allocations: 83.19 kB / 0.562 GB, free: 1.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2657, allocations: 4 kB / 0.562 GB, free: 1.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.2659, allocations: 55.86 kB / 0.5621 GB, free: 1.133 MB / 398.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006353/0.2665, allocations: 0.7143 MB / 0.5628 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.2666, allocations: 63.39 kB / 0.5628 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2666, allocations: 0 / 0.5628 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.2667, allocations: 59.34 kB / 0.5629 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.2668, allocations: 0 / 0.5629 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.2671, allocations: 126.6 kB / 0.563 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2674, allocations: 0.6729 MB / 0.5636 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.197e-06/0.2674, allocations: 0 / 0.5636 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.2674, allocations: 11.56 kB / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2674, allocations: 0 / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.2905, allocations: 2.417 MB / 0.566 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.298, allocations: 1.609 kB / 0.566 GB, free: 13.01 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.787131022996618]