Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001187/0.001187, allocations: 101.5 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.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.001253/0.001253, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.363/1.363, allocations: 225.7 MB / 253.3 MB, free: 12.87 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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.92 kB / 371.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2293, allocations: 52.18 MB / 423.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002618/0.2319, allocations: 1.513 MB / 424.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.2322, allocations: 131.5 kB / 425 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2323, allocations: 0 / 425 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.2323, allocations: 3.938 kB / 425 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2324, allocations: 11.92 kB / 425 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.2326, allocations: 34.16 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.2327, allocations: 27.92 kB / 425.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.2328, allocations: 18.09 kB / 425.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.2328, allocations: 11.92 kB / 425.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.2329, allocations: 11.94 kB / 425.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2329, allocations: 0 / 425.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.2329, allocations: 4 kB / 425.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.2329, allocations: 15.92 kB / 425.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.233, allocations: 15.88 kB / 425.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.2331, allocations: 43.75 kB / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2331, allocations: 0 / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2331, allocations: 0 / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2331, allocations: 4 kB / 425.2 MB, free: 12.74 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.0004062/0.2335, allocations: 290.1 kB / 425.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2335, allocations: 8.031 kB / 425.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.353e-05/0.2335, allocations: 192 / 425.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2335, allocations: 38.75 kB / 425.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.2336, allocations: 4.891 kB / 425.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.2338, allocations: 137.8 kB / 425.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2338, allocations: 4.375 kB / 425.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.2338, allocations: 4.375 kB / 425.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.234, allocations: 101.3 kB / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.234, allocations: 0 / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.234, allocations: 0 / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.234, allocations: 7.984 kB / 425.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.2341, allocations: 15.94 kB / 425.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.2344, allocations: 224.8 kB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.2345, allocations: 49.14 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.2345, allocations: 17.78 kB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2345, allocations: 0 / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2346, allocations: 38.56 kB / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.2346, allocations: 0 / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002106/0.2348, allocations: 65.56 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.2348, allocations: 77.11 kB / 426.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.235, allocations: 138.1 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.235, allocations: 25.7 kB / 426.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.235, allocations: 88.39 kB / 426.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.235, allocations: 7.891 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.2351, allocations: 13.72 kB / 426.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2352, allocations: 318.8 kB / 426.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.2352, allocations: 7.984 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.2353, allocations: 17.66 kB / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.2353, allocations: 33.64 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2353, allocations: 0 / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.2354, allocations: 61.67 kB / 426.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2355, allocations: 4 kB / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.2355, allocations: 0 / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2355, allocations: 0 / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.2355, allocations: 8 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2355, allocations: 4 kB / 427 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.2356, allocations: 3.938 kB / 427 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2356, allocations: 4 kB / 427 MB, free: 10.71 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 (step.y,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.2357, allocations: 125.8 kB / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.2357, allocations: 37.66 kB / 427.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2357, allocations: 15.73 kB / 427.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2357, allocations: 0 / 427.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2357, allocations: 4 kB / 427.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2357, allocations: 0 / 427.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2359, allocations: 136.6 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2359, allocations: 0 / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.2359, allocations: 4 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2359, allocations: 4 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2359, allocations: 4.031 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2359, allocations: 3.984 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2359, allocations: 0 / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.2361, allocations: 160.3 kB / 427.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.2361, allocations: 15.92 kB / 427.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.2362, allocations: 0 / 427.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.2362, allocations: 4 kB / 427.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.2362, allocations: 7.938 kB / 427.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2362, allocations: 0 / 427.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.2363, allocations: 103.3 kB / 427.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2363, allocations: 4 kB / 427.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.2365, allocations: 8 kB / 427.6 MB, free: 10.01 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 (step.y,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.0004528/0.237, allocations: 0.682 MB / 428.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.2371, allocations: 23.92 kB / 428.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2371, allocations: 0 / 428.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.2371, allocations: 16.08 kB / 428.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2374, allocations: 18.52 kB / 428.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2386, allocations: 1.26 MB / 429.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.782e-05/0.2387, allocations: 71.2 kB / 429.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.82e-05/0.2387, allocations: 96 / 429.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2387, allocations: 23.59 kB / 429.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2387, allocations: 0 / 429.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.2588, allocations: 1.571 MB / 431.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.81, allocations: 12.73 kB / 431.3 MB, free: 6.348 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.068232177989557] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.961201106896624 10.976803355 10.740735779 Calling exit ...