Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001302/0.001302, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001402/0.001402, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.341/1.341, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 53.36 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003062/0.2429, allocations: 1.53 MB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.2433, allocations: 131.5 kB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.2434, allocations: 0 / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.2434, allocations: 7.922 kB / 433.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.2436, allocations: 11.94 kB / 433.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2438, allocations: 35.84 kB / 433.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.2439, allocations: 35.86 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.244, allocations: 15.97 kB / 433.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.244, allocations: 15.94 kB / 433.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.2441, allocations: 15.92 kB / 433.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2441, allocations: 0 / 433.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.2441, allocations: 4 kB / 433.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.2442, allocations: 15.92 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.2442, allocations: 15.88 kB / 433.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2443, allocations: 46.06 kB / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2443, allocations: 0 / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2443, allocations: 0 / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2443, allocations: 0 / 433.7 MB, free: 4.781 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.0004455/0.2448, allocations: 294.1 kB / 434 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2448, allocations: 12.03 kB / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.2448, allocations: 192 / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.2449, allocations: 30.75 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2449, allocations: 16.88 kB / 434.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2451, allocations: 134.4 kB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2452, allocations: 4.375 kB / 434.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2452, allocations: 4.375 kB / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.2455, allocations: 121.3 kB / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.2455, allocations: 0 / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2455, allocations: 0 / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2455, allocations: 0 / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/0.2455, allocations: 19.94 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.2458, allocations: 232.7 kB / 434.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.246, allocations: 57.14 kB / 434.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.246, allocations: 33.77 kB / 434.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2461, allocations: 3.938 kB / 434.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2461, allocations: 30.56 kB / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2461, allocations: 0 / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002145/0.2463, allocations: 73.75 kB / 434.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2464, allocations: 89.09 kB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2465, allocations: 128.2 kB / 435 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2465, allocations: 29.7 kB / 435 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2466, allocations: 80.14 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.2466, allocations: 4 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2466, allocations: 29.78 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2467, allocations: 318.8 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.2468, allocations: 7.984 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.2468, allocations: 31.44 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.453e-05/0.2469, allocations: 47.3 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2469, allocations: 0 / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.247, allocations: 61.62 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.247, allocations: 4 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.247, allocations: 4 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2471, allocations: 4 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.057e-05/0.2471, allocations: 0 / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2471, allocations: 4 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.2471, allocations: 3.938 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2471, allocations: 4 kB / 435.6 MB, free: 2.652 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 9.904e-05/0.2472, allocations: 129.8 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.2473, allocations: 49.64 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.2473, allocations: 12 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2473, allocations: 0 / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2473, allocations: 0 / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2473, allocations: 0 / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2475, allocations: 140.7 kB / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2475, allocations: 0 / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.2475, allocations: 3.984 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2475, allocations: 0 / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.2475, allocations: 0 / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2475, allocations: 4 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2475, allocations: 7.938 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2477, allocations: 160.3 kB / 436.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.2477, allocations: 15.94 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2477, allocations: 4 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.2478, allocations: 0 / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.2478, allocations: 0 / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2478, allocations: 4 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.2479, allocations: 110.4 kB / 436.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2479, allocations: 0 / 436.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2481, allocations: 4 kB / 436.2 MB, free: 1.938 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.0004558/0.2486, allocations: 0.7092 MB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.2487, allocations: 27.92 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2487, allocations: 0 / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.2487, allocations: 4 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.249, allocations: 18.08 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2502, allocations: 1.317 MB / 438.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.2503, allocations: 71.33 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.2503, allocations: 3.984 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2504, allocations: 15.44 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2504, allocations: 0 / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.2712, allocations: 1.669 MB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.78, allocations: 4.062 kB / 440.1 MB, free: 14.11 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.038770626066253] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.937103063915856 10.951876066 10.704660086 Calling exit ...