Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001443/0.001443, 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.001507/0.001507, allocations: 192.8 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.335/1.335, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 47.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2358, allocations: 52.18 MB / 423.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002657/0.2384, allocations: 1.521 MB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.2388, allocations: 135.6 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.2388, allocations: 0 / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.2389, allocations: 3.938 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.239, allocations: 7.938 kB / 425 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2392, allocations: 43.83 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.2393, allocations: 27.92 kB / 425.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.2394, allocations: 18.09 kB / 425.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.2394, allocations: 15.92 kB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.2395, allocations: 19.86 kB / 425.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2395, allocations: 4 kB / 425.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.2395, allocations: 4 kB / 425.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.2395, allocations: 11.94 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.2396, allocations: 19.86 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2397, allocations: 47.75 kB / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2397, allocations: 0 / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2397, allocations: 0 / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2397, allocations: 0 / 425.2 MB, free: 12.51 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.0004153/0.2401, allocations: 302 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2401, allocations: 8.031 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.2401, allocations: 12.06 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.2402, allocations: 38.75 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.2402, allocations: 8.891 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.2404, allocations: 129.8 kB / 425.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2404, allocations: 8.375 kB / 425.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.2404, allocations: 4.375 kB / 425.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2407, allocations: 117.3 kB / 425.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2407, allocations: 0 / 425.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2407, allocations: 7.875 kB / 425.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2407, allocations: 0 / 425.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.2408, allocations: 19.98 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.2411, allocations: 232.7 kB / 426.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2413, allocations: 61.14 kB / 426.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.2413, allocations: 29.77 kB / 426.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2413, allocations: 4 kB / 426.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2414, allocations: 34.56 kB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2414, allocations: 0 / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002371/0.2416, allocations: 77.56 kB / 426.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.2417, allocations: 85.05 kB / 426.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2418, allocations: 138.1 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.2418, allocations: 25.7 kB / 426.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.2418, allocations: 84.14 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.2419, allocations: 0 / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.2419, allocations: 29.8 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.242, allocations: 314.8 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.2421, allocations: 8 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.2421, allocations: 31.42 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.2422, allocations: 55.3 kB / 427 MB, free: 10.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2422, allocations: 0 / 427 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001245/0.2423, allocations: 69.61 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2423, allocations: 8 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2423, allocations: 0 / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2423, allocations: 0 / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.2424, allocations: 11.94 kB / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2424, allocations: 4 kB / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.2424, allocations: 0 / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2425, allocations: 11.92 kB / 427.2 MB, free: 10.33 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 0.0001072/0.2426, allocations: 121.9 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2426, allocations: 49.64 kB / 427.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.2427, allocations: 12.34 kB / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2427, allocations: 336 / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2427, allocations: 0 / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2427, allocations: 3.938 kB / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2429, allocations: 144.7 kB / 427.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2429, allocations: 0 / 427.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.2429, allocations: 15.92 kB / 427.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2429, allocations: 0 / 427.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2429, allocations: 4 kB / 427.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2429, allocations: 8 kB / 427.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2429, allocations: 0 / 427.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.2431, allocations: 168.3 kB / 427.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.2431, allocations: 11.94 kB / 427.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2432, allocations: 4 kB / 427.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.2432, allocations: 4 kB / 427.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.2432, allocations: 0 / 427.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.2432, allocations: 0 / 427.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.2433, allocations: 111.2 kB / 427.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 4 kB / 427.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000215/0.2435, allocations: 7.938 kB / 427.8 MB, free: 9.586 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.0004613/0.244, allocations: 0.6976 MB / 428.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2441, allocations: 31.92 kB / 428.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2441, allocations: 0 / 428.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.2441, allocations: 7.984 kB / 428.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2445, allocations: 36.14 kB / 428.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2457, allocations: 1.318 MB / 429.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.2458, allocations: 75.19 kB / 430 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.2458, allocations: 7.938 kB / 430 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2459, allocations: 15.42 kB / 430 MB, free: 7.254 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2459, allocations: 4 kB / 430 MB, free: 7.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2669, allocations: 1.649 MB / 431.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.78, allocations: 11.44 kB / 431.7 MB, free: 5.738 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.055987732019275] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.942453150055371 10.969069534 10.724370133 Calling exit ...