Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 189.2 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 51.92 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 52.18 MB / 423.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00271/0.2475, allocations: 1.509 MB / 424.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.2479, allocations: 127.6 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.2479, allocations: 0 / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.248, allocations: 7.938 kB / 425 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2481, allocations: 7.938 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2484, allocations: 42.14 kB / 425 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.2485, allocations: 27.92 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.2486, allocations: 4 kB / 425.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.2486, allocations: 11.94 kB / 425.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.2486, allocations: 15.92 kB / 425.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2486, allocations: 0 / 425.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.2487, allocations: 4 kB / 425.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.2487, allocations: 15.92 kB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2487, allocations: 15.86 kB / 425.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2489, allocations: 39.78 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2489, allocations: 0 / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2489, allocations: 0 / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2489, allocations: 4 kB / 425.2 MB, free: 12.56 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.0004484/0.2493, allocations: 284.4 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2493, allocations: 8.031 kB / 425.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.422e-05/0.2494, allocations: 4.188 kB / 425.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2494, allocations: 34.75 kB / 425.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.2494, allocations: 8.891 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2497, allocations: 138.3 kB / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2497, allocations: 4.375 kB / 425.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2497, allocations: 4.359 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2499, allocations: 97.36 kB / 425.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2499, allocations: 0 / 425.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.2499, allocations: 0 / 425.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2499, allocations: 4 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.25, allocations: 7.938 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.2503, allocations: 236.8 kB / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.2504, allocations: 45.09 kB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.2505, allocations: 21.77 kB / 426.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2505, allocations: 0 / 426.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2505, allocations: 34.56 kB / 426.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2505, allocations: 0 / 426.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001996/0.2507, allocations: 57.58 kB / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2508, allocations: 81.11 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2509, allocations: 129.3 kB / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2509, allocations: 25.7 kB / 426.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.251, allocations: 96.06 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.251, allocations: 4.25 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.251, allocations: 21.67 kB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2511, allocations: 310.8 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.2512, allocations: 7.938 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.2512, allocations: 21.7 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.2512, allocations: 21.66 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2512, allocations: 0 / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.083e-05/0.2513, allocations: 57.69 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2513, allocations: 4 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2513, allocations: 0 / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2514, allocations: 0 / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.24e-05/0.2514, allocations: 0 / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2514, allocations: 4 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.2514, allocations: 3.984 kB / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2514, allocations: 0 / 426.9 MB, free: 10.58 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 8.59e-05/0.2515, allocations: 121.8 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.2516, allocations: 37.59 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.2516, allocations: 19.55 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2516, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2516, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2516, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2518, allocations: 136.7 kB / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2518, allocations: 0 / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.2518, allocations: 4 kB / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2518, allocations: 0 / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.2518, allocations: 0 / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2518, allocations: 11.92 kB / 427.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2518, allocations: 0 / 427.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2519, allocations: 164.2 kB / 427.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.252, allocations: 8 kB / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.252, allocations: 0 / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.252, allocations: 4 kB / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.252, allocations: 3.984 kB / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.252, allocations: 0 / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.908e-05/0.2521, allocations: 103.2 kB / 427.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2521, allocations: 0 / 427.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.2523, allocations: 8 kB / 427.5 MB, free: 9.891 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.0004465/0.2528, allocations: 0.6898 MB / 428.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.2529, allocations: 15.94 kB / 428.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2529, allocations: 3.938 kB / 428.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.2529, allocations: 4 kB / 428.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2532, allocations: 18.94 kB / 428.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2544, allocations: 1.249 MB / 429.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.374e-05/0.2545, allocations: 71.2 kB / 429.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.2545, allocations: 3.984 kB / 429.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2546, allocations: 15.44 kB / 429.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2546, allocations: 0 / 429.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.2763, allocations: 1.552 MB / 431.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 2.578 kB / 431.1 MB, free: 6.285 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.12281927303411] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.95713475998491 10.971764277 10.720045604 Calling exit ...