Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001247/0.001247, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001417/0.001417, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 63.89 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3507, allocations: 53.4 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003061/0.3538, allocations: 1.526 MB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004/0.3542, allocations: 135.5 kB / 433.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.3543, allocations: 7.938 kB / 433.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.3543, allocations: 3.938 kB / 433.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3545, allocations: 7.922 kB / 433.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3548, allocations: 39.91 kB / 433.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3549, allocations: 31.86 kB / 433.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.355, allocations: 11.98 kB / 433.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.355, allocations: 19.94 kB / 433.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.3551, allocations: 11.92 kB / 433.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3551, allocations: 4 kB / 433.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3551, allocations: 4 kB / 433.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3552, allocations: 19.91 kB / 433.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3552, allocations: 11.88 kB / 433.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3553, allocations: 46.02 kB / 433.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3554, allocations: 0 / 433.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3554, allocations: 0 / 433.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3554, allocations: 0 / 433.8 MB, free: 4.621 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005258/0.3559, allocations: 302 kB / 434.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.3559, allocations: 8.031 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.356, allocations: 4.188 kB / 434.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.356, allocations: 30.75 kB / 434.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.356, allocations: 8.891 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.3563, allocations: 141.1 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3563, allocations: 4.375 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3563, allocations: 8.375 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.3567, allocations: 125.3 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3567, allocations: 0 / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3567, allocations: 0 / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3567, allocations: 0 / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.3567, allocations: 8 kB / 434.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.3571, allocations: 240.7 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3572, allocations: 57.2 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.3573, allocations: 29.77 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3573, allocations: 0 / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3573, allocations: 38.5 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3573, allocations: 0 / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002445/0.3576, allocations: 77.55 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3576, allocations: 77.11 kB / 434.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3578, allocations: 133.8 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3578, allocations: 25.7 kB / 435.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.3578, allocations: 84.14 kB / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.3579, allocations: 0 / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3579, allocations: 33.78 kB / 435.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.358, allocations: 314.8 kB / 435.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.3581, allocations: 4 kB / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.3581, allocations: 31.42 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.3582, allocations: 47.3 kB / 435.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3582, allocations: 4 kB / 435.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.3583, allocations: 57.62 kB / 435.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3583, allocations: 14.44 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3583, allocations: 0 / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3584, allocations: 3.938 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.3584, allocations: 4 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3584, allocations: 0 / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.3584, allocations: 8 kB / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.3584, allocations: 0 / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001057/0.3585, allocations: 125.9 kB / 435.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.3586, allocations: 49.66 kB / 435.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.3587, allocations: 15.92 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3587, allocations: 3.938 kB / 435.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3587, allocations: 4 kB / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3587, allocations: 0 / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3588, allocations: 132.7 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3588, allocations: 0 / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.3589, allocations: 8 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3589, allocations: 3.984 kB / 436 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3589, allocations: 0 / 436 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3589, allocations: 4 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3589, allocations: 0 / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.359, allocations: 164.3 kB / 436.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.3591, allocations: 15.94 kB / 436.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3591, allocations: 0 / 436.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.3592, allocations: 7.938 kB / 436.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3592, allocations: 0 / 436.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3592, allocations: 0 / 436.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.3593, allocations: 110.3 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3593, allocations: 0 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.3595, allocations: 4 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0004812/0.36, allocations: 0.7015 MB / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3601, allocations: 27.92 kB / 437 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3601, allocations: 0 / 437 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.3601, allocations: 4 kB / 437 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3605, allocations: 27.12 kB / 437.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3618, allocations: 1.307 MB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.965e-05/0.3619, allocations: 75.33 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.066e-05/0.3619, allocations: 4 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.362, allocations: 7.438 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.362, allocations: 0 / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3837, allocations: 1.668 MB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.1, allocations: 11.53 kB / 440.1 MB, free: 13.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.601154573028907] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 11.262394497985952 11.275656375 10.917224643 Calling exit ...