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.001255/0.001255, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001228/0.001228, allocations: 197 kB / 21.43 MB, free: 1.609 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.371/1.371, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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.001429/0.001429, allocations: 47.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09823, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002732/0.101, allocations: 1.501 MB / 420 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.1013, allocations: 143.5 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1014, allocations: 0 / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.1014, allocations: 3.938 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1016, allocations: 7.938 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1018, allocations: 35.89 kB / 420.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.1019, allocations: 31.86 kB / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.102, allocations: 8 kB / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.102, allocations: 11.92 kB / 420.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.102, allocations: 11.94 kB / 420.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1021, allocations: 4 kB / 420.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.1021, allocations: 4 kB / 420.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.1021, allocations: 19.91 kB / 420.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1021, allocations: 19.81 kB / 420.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1022, allocations: 39.77 kB / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1022, allocations: 0 / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1022, allocations: 4 kB / 420.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1023, allocations: 0 / 420.3 MB, free: 10.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005009/0.1028, allocations: 359.2 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1028, allocations: 19.97 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.24e-05/0.1028, allocations: 192 / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.1028, allocations: 34.75 kB / 420.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1029, allocations: 8.891 kB / 420.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1031, allocations: 198.4 kB / 420.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1031, allocations: 4.375 kB / 420.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1032, allocations: 4.375 kB / 420.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1034, allocations: 93.36 kB / 421 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1034, allocations: 0 / 421 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1034, allocations: 4 kB / 421 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1034, allocations: 4 kB / 421 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.1035, allocations: 15.92 kB / 421 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.1038, allocations: 261.8 kB / 421.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.1039, allocations: 37.16 kB / 421.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1039, allocations: 21.77 kB / 421.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.104, allocations: 4 kB / 421.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.104, allocations: 34.56 kB / 421.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.104, allocations: 0 / 421.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.1042, allocations: 65.56 kB / 421.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1043, allocations: 77.11 kB / 421.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1044, allocations: 134.1 kB / 421.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1044, allocations: 25.95 kB / 421.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.1045, allocations: 92.08 kB / 421.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1045, allocations: 11.94 kB / 421.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1045, allocations: 17.66 kB / 421.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1047, allocations: 314.8 kB / 422.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.1047, allocations: 7.984 kB / 422.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.1047, allocations: 17.72 kB / 422.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.1048, allocations: 33.7 kB / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1048, allocations: 0 / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001129/0.1049, allocations: 53.62 kB / 422.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1049, allocations: 4 kB / 422.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.105, allocations: 0 / 422.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.105, allocations: 0 / 422.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.105, allocations: 12.05 kB / 422.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.105, allocations: 4 kB / 422.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1051, allocations: 0 / 422.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1051, allocations: 0 / 422.3 MB, free: 8.547 MB / 350.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 9.703e-05/0.1052, allocations: 129.7 kB / 422.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1052, allocations: 37.59 kB / 422.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.1053, allocations: 11.88 kB / 422.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1053, allocations: 0 / 422.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1053, allocations: 3.938 kB / 422.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1053, allocations: 4.031 kB / 422.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1054, allocations: 169.6 kB / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1054, allocations: 0 / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.1055, allocations: 4 kB / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1055, allocations: 0 / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1055, allocations: 4 kB / 422.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1055, allocations: 3.984 kB / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1055, allocations: 8 kB / 422.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1057, allocations: 164.2 kB / 422.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.1057, allocations: 93.05 kB / 422.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1057, allocations: 0 / 422.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-05/0.1058, allocations: 4 kB / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.1058, allocations: 0 / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1058, allocations: 0 / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.1059, allocations: 109.8 kB / 423 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1059, allocations: 4.031 kB / 423 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1061, allocations: 4 kB / 423 MB, free: 7.703 MB / 350.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.0005355/0.1067, allocations: 0.7013 MB / 423.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1068, allocations: 20.02 kB / 423.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1068, allocations: 0 / 423.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.1068, allocations: 8 kB / 423.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1071, allocations: 22 kB / 423.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1084, allocations: 1.268 MB / 425 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1087, allocations: 0.6923 MB / 425.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.373e-05/0.1088, allocations: 3.938 kB / 425.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1088, allocations: 11.44 kB / 425.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1088, allocations: 0 / 425.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.1255, allocations: 1.417 MB / 427.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.913, allocations: 23.86 kB / 427.2 MB, free: 3.559 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.202223673986737] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.033111786993686 8.047696119 7.942538876 Calling exit ...