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.00146/0.00146, allocations: 113 kB / 18.49 MB, free: 4.539 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.001745/0.001745, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001461/0.001461, allocations: 47.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09436, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002888/0.09724, allocations: 1.521 MB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000429/0.09767, allocations: 147.5 kB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.09776, allocations: 0 / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.0978, allocations: 7.938 kB / 428.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.09793, allocations: 3.938 kB / 428.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.0982, allocations: 43.89 kB / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.0983, allocations: 27.92 kB / 428.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.0984, allocations: 19.97 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.09844, allocations: 11.94 kB / 428.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.09849, allocations: 19.86 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.09851, allocations: 0 / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.09852, allocations: 4 kB / 428.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.09857, allocations: 8 kB / 428.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.09861, allocations: 27.8 kB / 428.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.09875, allocations: 51.69 kB / 428.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09876, allocations: 3.938 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.09876, allocations: 3.938 kB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.09877, allocations: 0 / 428.9 MB, free: 2.879 MB / 350.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.0005104/0.09928, allocations: 367.2 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.09932, allocations: 12.03 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.68e-05/0.09933, allocations: 192 / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.09937, allocations: 34.75 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.0994, allocations: 12.89 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.09967, allocations: 200.1 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.09968, allocations: 384 / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.09969, allocations: 4.375 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.09999, allocations: 121.3 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1, allocations: 0 / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1, allocations: 0 / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1, allocations: 3.984 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1001, allocations: 19.98 kB / 429.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.1004, allocations: 265.7 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1006, allocations: 142.2 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.1007, allocations: 25.77 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1007, allocations: 4 kB / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1008, allocations: 34.56 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1008, allocations: 0 / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.101, allocations: 77.56 kB / 430.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1011, allocations: 81.09 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1012, allocations: 136.4 kB / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1012, allocations: 25.7 kB / 430.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1013, allocations: 88.08 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.1013, allocations: 8.078 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1013, allocations: 25.7 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1014, allocations: 314.8 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.1015, allocations: 7.984 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.1015, allocations: 31.44 kB / 430.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.1016, allocations: 51.3 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1016, allocations: 0 / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.1018, allocations: 69.55 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1018, allocations: 4 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1018, allocations: 12.06 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1018, allocations: 0 / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.1018, allocations: 8 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1019, allocations: 0 / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.1019, allocations: 11.94 kB / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1019, allocations: 0 / 431.1 MB, free: 424 kB / 350.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.591e-05/0.102, allocations: 121.8 kB / 431.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.1021, allocations: 49.62 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.1021, allocations: 8.25 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1021, allocations: 4 kB / 431.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1021, allocations: 4 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1021, allocations: 4 kB / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1023, allocations: 173.5 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1023, allocations: 0 / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.1024, allocations: 11.98 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1024, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1024, allocations: 4 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1024, allocations: 0 / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1024, allocations: 0 / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1025, allocations: 176.5 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.1026, allocations: 93.12 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1026, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.1027, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1027, allocations: 4 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1027, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.732e-05/0.1028, allocations: 120.2 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1028, allocations: 0 / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.103, allocations: 4 kB / 431.8 MB, free: 15.54 MB / 366.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.0005146/0.1035, allocations: 0.7054 MB / 432.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1037, allocations: 23.98 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1037, allocations: 3.938 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.1037, allocations: 11.98 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.104, allocations: 22.2 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1053, allocations: 1.33 MB / 433.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1057, allocations: 0.6962 MB / 434.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.305e-05/0.1057, allocations: 4 kB / 434.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1057, allocations: 15.42 kB / 434.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1057, allocations: 0 / 434.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1232, allocations: 1.497 MB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/7.992, allocations: 10.75 kB / 436.1 MB, free: 11.2 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.573799020028673] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.11620408698218 8.317464405 8.039234013 Calling exit ...