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.001246/0.001246, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001383/0.001383, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.337/1.337, 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.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.002021/0.002021, allocations: 47.94 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2431, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002563/0.2456, allocations: 1.53 MB / 433.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.246, allocations: 143.5 kB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.2461, allocations: 7.938 kB / 433.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.2461, allocations: 3.938 kB / 433.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2462, allocations: 3.938 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2464, allocations: 47.89 kB / 433.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.2465, allocations: 27.92 kB / 433.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.2466, allocations: 8 kB / 433.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.2466, allocations: 19.92 kB / 433.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.2467, allocations: 15.86 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2467, allocations: 4 kB / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.2467, allocations: 4 kB / 433.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.2467, allocations: 15.92 kB / 433.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.2468, allocations: 19.81 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2469, allocations: 47.61 kB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2469, allocations: 0 / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2469, allocations: 4 kB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2469, allocations: 0 / 433.8 MB, free: 4.961 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.0003786/0.2473, allocations: 290.6 kB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2473, allocations: 12.03 kB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.499e-05/0.2473, allocations: 4.188 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.2474, allocations: 42.67 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.2474, allocations: 4.891 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.2476, allocations: 134.5 kB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2476, allocations: 384 / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.2476, allocations: 4.375 kB / 434.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2478, allocations: 113.3 kB / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2478, allocations: 0 / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2478, allocations: 8 kB / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2479, allocations: 7.938 kB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.2479, allocations: 11.98 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.2482, allocations: 236.7 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2483, allocations: 61.14 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.2484, allocations: 25.77 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2484, allocations: 0 / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2484, allocations: 34.56 kB / 434.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2484, allocations: 0 / 434.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.2486, allocations: 73.69 kB / 434.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2487, allocations: 85.05 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2488, allocations: 131.5 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2488, allocations: 25.7 kB / 435.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.2488, allocations: 88.14 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.2489, allocations: 0 / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.2489, allocations: 21.7 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.249, allocations: 314.8 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.249, allocations: 8 kB / 435.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.2491, allocations: 31.42 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.2491, allocations: 55.23 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2492, allocations: 4 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/0.2493, allocations: 61.52 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2493, allocations: 10.81 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2493, allocations: 0 / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2493, allocations: 0 / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.135e-05/0.2493, allocations: 7.938 kB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.2493, allocations: 0 / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.2493, allocations: 8 kB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2493, allocations: 4.125 kB / 435.7 MB, free: 2.836 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 8.837e-05/0.2494, allocations: 125.8 kB / 435.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.2495, allocations: 41.94 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.2495, allocations: 20.02 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2495, allocations: 0 / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2495, allocations: 4 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2495, allocations: 0 / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2497, allocations: 140.7 kB / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2497, allocations: 0 / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.2497, allocations: 11.94 kB / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2497, allocations: 0 / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2497, allocations: 0 / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2497, allocations: 0 / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2497, allocations: 0 / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.2499, allocations: 164.3 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.2499, allocations: 19.94 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2499, allocations: 4 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.25, allocations: 3.984 kB / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.25, allocations: 4 kB / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.25, allocations: 0 / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.2501, allocations: 101.1 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2501, allocations: 4 kB / 436.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.2503, allocations: 4 kB / 436.3 MB, free: 2.117 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.0004779/0.2508, allocations: 0.7053 MB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.2509, allocations: 23.92 kB / 437.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2509, allocations: 0 / 437.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.2509, allocations: 4 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2512, allocations: 28.27 kB / 437.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2524, allocations: 1.309 MB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.2527, allocations: 0.6846 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.2527, allocations: 4 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.2527, allocations: 15.42 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2527, allocations: 4 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.2728, allocations: 1.617 MB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.69, allocations: 8 kB / 440.7 MB, free: 13.71 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: 12.949830204015598] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.849266186007299 10.864478842 10.614230568 Calling exit ...