Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2462, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003528/0.2497, allocations: 1.928 MB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2518, allocations: 1.251 MB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.2519, allocations: 7.938 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.2525, allocations: 147.5 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.2529, allocations: 167.4 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.2533, allocations: 174.4 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.2536, allocations: 183.5 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2537, allocations: 25.72 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2538, allocations: 79.64 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.254, allocations: 83.61 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.254, allocations: 8 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2541, allocations: 71.89 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.2542, allocations: 39.84 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.2543, allocations: 71.53 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.2547, allocations: 211.9 kB / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2547, allocations: 0 / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2547, allocations: 0 / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2547, allocations: 0 / 436.3 MB, free: 2.422 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008019/0.2555, allocations: 454.7 kB / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2555, allocations: 8.031 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/0.2555, allocations: 8.188 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.2556, allocations: 34.75 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.2556, allocations: 24.8 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.256, allocations: 217 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.256, allocations: 12.12 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.256, allocations: 4 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.2564, allocations: 146.7 kB / 437.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2564, allocations: 7.984 kB / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2564, allocations: 4 kB / 437.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2564, allocations: 0 / 437.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2565, allocations: 35.92 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.257, allocations: 329.5 kB / 437.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.2573, allocations: 111.9 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.2573, allocations: 42.5 kB / 437.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.2574, allocations: 4 kB / 437.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.2575, allocations: 79.44 kB / 437.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2575, allocations: 0 / 437.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003701/0.2579, allocations: 145.5 kB / 438 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.258, allocations: 136.5 kB / 438.1 MB, free: 436 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.2583, allocations: 273 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2583, allocations: 29.7 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2584, allocations: 116.1 kB / 438.5 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.2585, allocations: 20.08 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.2585, allocations: 33.92 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2587, allocations: 326.8 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.2587, allocations: 20 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2588, allocations: 69.98 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.259, allocations: 76.27 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.259, allocations: 0 / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002104/0.2592, allocations: 113.5 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2592, allocations: 10.34 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2592, allocations: 4.125 kB / 439.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2592, allocations: 4 kB / 439.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.2593, allocations: 15.92 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2593, allocations: 11.73 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.2594, allocations: 15.88 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2594, allocations: 7.984 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001404/0.2595, allocations: 141.8 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.2596, allocations: 69.52 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.2599, allocations: 107.7 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2599, allocations: 4 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2599, allocations: 4 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2599, allocations: 4 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2601, allocations: 200.6 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2601, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.2601, allocations: 11.88 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2601, allocations: 0 / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2601, allocations: 4 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2601, allocations: 4.031 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.2601, allocations: 3.938 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.2604, allocations: 154.7 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.2605, allocations: 35.78 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2605, allocations: 4 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.2605, allocations: 8 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.2606, allocations: 11.92 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2606, allocations: 4 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.2608, allocations: 200.5 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2608, allocations: 0 / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.2611, allocations: 27.98 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.001992/0.2631, allocations: 1.011 MB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2633, allocations: 63.86 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2633, allocations: 0 / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.2634, allocations: 20.23 kB / 441.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.2638, allocations: 82.61 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2661, allocations: 1.95 MB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2665, allocations: 0.732 MB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.2666, allocations: 21.47 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.2666, allocations: 47.42 kB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2666, allocations: 0 / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.2923, allocations: 4.841 MB / 449 MB, free: 5.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.9, allocations: 10.17 kB / 449 MB, free: 5.461 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.279649314994458] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.101476904004812 11.114979189 10.857419105 Calling exit ...