Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001763/0.001763, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002312/0.002312, allocations: 215.8 kB / 24.52 MB, free: 3.91 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2536, allocations: 53.35 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002667/0.2563, allocations: 1.524 MB / 433.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.2566, allocations: 131.5 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.2567, allocations: 0 / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.2567, allocations: 7.938 kB / 433.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2569, allocations: 3.938 kB / 433.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.2571, allocations: 39.89 kB / 433.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.2572, allocations: 27.92 kB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.2572, allocations: 8 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.2573, allocations: 15.91 kB / 433.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.2573, allocations: 11.94 kB / 433.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2573, allocations: 4 kB / 433.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2573, allocations: 0 / 433.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2574, allocations: 19.86 kB / 433.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.2574, allocations: 11.88 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2575, allocations: 39.83 kB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2575, allocations: 0 / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2575, allocations: 4 kB / 433.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2575, allocations: 0 / 433.7 MB, free: 4.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004189/0.2579, allocations: 284.4 kB / 434 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.258, allocations: 8.031 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.258, allocations: 4.188 kB / 434 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.258, allocations: 30.75 kB / 434 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2581, allocations: 12.89 kB / 434 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2583, allocations: 126.4 kB / 434.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2583, allocations: 4.375 kB / 434.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2583, allocations: 12.31 kB / 434.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2585, allocations: 85.42 kB / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2585, allocations: 3.984 kB / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.2585, allocations: 0 / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2585, allocations: 4 kB / 434.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.2586, allocations: 11.94 kB / 434.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.2589, allocations: 232.8 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.259, allocations: 45.14 kB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.259, allocations: 21.72 kB / 434.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.259, allocations: 0 / 434.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2591, allocations: 38.56 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2591, allocations: 0 / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.2593, allocations: 57.58 kB / 434.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.2593, allocations: 77.11 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2595, allocations: 137 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2595, allocations: 29.7 kB / 434.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.2595, allocations: 84.38 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.2595, allocations: 7.953 kB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2596, allocations: 21.66 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2597, allocations: 310.8 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.2597, allocations: 11.98 kB / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.2598, allocations: 13.72 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.2598, allocations: 25.66 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2598, allocations: 0 / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.613e-05/0.2599, allocations: 53.69 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2599, allocations: 4 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2599, allocations: 0 / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2599, allocations: 0 / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.848e-05/0.26, allocations: 7.984 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.26, allocations: 4 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.26, allocations: 0 / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.26, allocations: 0 / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.005e-05/0.2601, allocations: 121.8 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.2602, allocations: 49.64 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.2602, allocations: 11.42 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2602, allocations: 0 / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2602, allocations: 0 / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2602, allocations: 0 / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2603, allocations: 140.7 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2603, allocations: 0 / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.2603, allocations: 0 / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.2604, allocations: 0 / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2604, allocations: 3.984 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2604, allocations: 4 kB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2604, allocations: 7.969 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.2605, allocations: 156.2 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2605, allocations: 11.95 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2606, allocations: 0 / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.2606, allocations: 7.984 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.2606, allocations: 0 / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2607, allocations: 0 / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.2607, allocations: 107.2 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2607, allocations: 0 / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.2609, allocations: 4 kB / 436 MB, free: 2.137 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004529/0.2614, allocations: 0.6898 MB / 436.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.2615, allocations: 11.94 kB / 436.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2615, allocations: 0 / 436.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.2615, allocations: 11.98 kB / 436.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2618, allocations: 8.031 kB / 436.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.263, allocations: 1.26 MB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.551e-05/0.2631, allocations: 71.33 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.478e-05/0.2631, allocations: 0 / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2631, allocations: 15.53 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2631, allocations: 0 / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.2842, allocations: 1.56 MB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.75, allocations: 15.05 kB / 439.7 MB, free: 14.51 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.078896015998907] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.897894999943674 10.911738586 10.651350188 Calling exit ...