Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001445/0.001445, 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.001578/0.001578, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 43.92 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00281/0.2476, allocations: 1.542 MB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.248, allocations: 139.5 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.2481, allocations: 7.938 kB / 433.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.2481, allocations: 7.922 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2482, allocations: 7.938 kB / 433.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.2485, allocations: 35.89 kB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2486, allocations: 39.86 kB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.2487, allocations: 8 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.2487, allocations: 15.92 kB / 433.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.2488, allocations: 11.94 kB / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2488, allocations: 0 / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.2488, allocations: 4 kB / 433.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.2488, allocations: 19.92 kB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.2489, allocations: 19.86 kB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.249, allocations: 56.42 kB / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.249, allocations: 0 / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.249, allocations: 0 / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.249, allocations: 0 / 433.8 MB, free: 4.953 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.0004291/0.2494, allocations: 298 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2495, allocations: 12.03 kB / 434.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.2495, allocations: 192 / 434.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.2495, allocations: 42.75 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.2495, allocations: 8.891 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.2497, allocations: 132.2 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2498, allocations: 4.375 kB / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2498, allocations: 384 / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.25, allocations: 125.3 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2501, allocations: 0 / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2501, allocations: 4 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2501, allocations: 0 / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.2502, allocations: 15.98 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.2505, allocations: 248.6 kB / 434.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2506, allocations: 57.2 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.2507, allocations: 25.77 kB / 434.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2507, allocations: 3.938 kB / 434.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2508, allocations: 42.56 kB / 434.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2508, allocations: 0 / 434.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00023/0.251, allocations: 73.56 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.2511, allocations: 85.09 kB / 435 MB, free: 3.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2512, allocations: 130.1 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2512, allocations: 25.7 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.2512, allocations: 88.27 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.2513, allocations: 11.95 kB / 435.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2513, allocations: 17.7 kB / 435.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2514, allocations: 318.8 kB / 435.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.2515, allocations: 7.984 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.2515, allocations: 31.62 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.722e-05/0.2516, allocations: 51.3 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2516, allocations: 0 / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.2517, allocations: 69.64 kB / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2517, allocations: 12.06 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2517, allocations: 0 / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2518, allocations: 7.984 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.2518, allocations: 4 kB / 435.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2518, allocations: 4 kB / 435.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.2519, allocations: 7.938 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2519, allocations: 8 kB / 435.8 MB, free: 2.766 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.001e-05/0.252, allocations: 117.8 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.252, allocations: 49.62 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.2521, allocations: 12.34 kB / 435.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2521, allocations: 0 / 435.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2521, allocations: 0 / 435.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2521, allocations: 4 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.2522, allocations: 144.6 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2522, allocations: 0 / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.2523, allocations: 15.92 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2523, allocations: 0 / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2523, allocations: 0 / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2523, allocations: 4 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2523, allocations: 4 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2525, allocations: 168.3 kB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.2525, allocations: 15.94 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2525, allocations: 0 / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.2526, allocations: 8 kB / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.2526, allocations: 0 / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2526, allocations: 4 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.2527, allocations: 113.9 kB / 436.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2527, allocations: 0 / 436.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.2529, allocations: 4 kB / 436.4 MB, free: 2.031 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.0004668/0.2534, allocations: 0.7015 MB / 437.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.2535, allocations: 31.92 kB / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2535, allocations: 0 / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.2535, allocations: 11.92 kB / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2538, allocations: 19.03 kB / 437.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2551, allocations: 1.326 MB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2555, allocations: 0.6962 MB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.2555, allocations: 4.422 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2555, allocations: 11.44 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2555, allocations: 0 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.2766, allocations: 1.623 MB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.55, allocations: 9.891 kB / 440.8 MB, free: 13.59 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.876522488018963] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.707366062037181 10.721742717 10.469856741 Calling exit ...