Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001273/0.001273, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001295/0.001295, allocations: 194.5 kB / 21.43 MB, free: 1.66 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.565/1.565, allocations: 225.6 MB / 249.8 MB, free: 3.633 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.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 366.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003977/0.112, allocations: 1.7 MB / 420.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004949/0.1125, allocations: 167.4 kB / 420.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1126, allocations: 4 kB / 420.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.925e-05/0.1126, allocations: 7.875 kB / 420.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1128, allocations: 19.86 kB / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1131, allocations: 43.89 kB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1132, allocations: 55.84 kB / 420.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1133, allocations: 23.97 kB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.1134, allocations: 23.88 kB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.1135, allocations: 27.84 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1135, allocations: 7.938 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.1135, allocations: 8 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.1135, allocations: 11.94 kB / 420.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.1136, allocations: 31.8 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1138, allocations: 75.59 kB / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1138, allocations: 0 / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1138, allocations: 0 / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1138, allocations: 4 kB / 420.7 MB, free: 10.42 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006121/0.1144, allocations: 395 kB / 421.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1144, allocations: 8.031 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.649e-05/0.1145, allocations: 192 / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1145, allocations: 38.75 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1145, allocations: 12.84 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1149, allocations: 204.2 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1149, allocations: 4.375 kB / 421.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1149, allocations: 8.375 kB / 421.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1153, allocations: 170 kB / 421.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1153, allocations: 7.938 kB / 421.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1153, allocations: 4 kB / 421.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1154, allocations: 0 / 421.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1155, allocations: 31.98 kB / 421.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.116, allocations: 365.8 kB / 421.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1162, allocations: 107.8 kB / 422 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1164, allocations: 58.69 kB / 422.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1164, allocations: 4.156 kB / 422.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1164, allocations: 50.47 kB / 422.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1164, allocations: 0 / 422.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003541/0.1168, allocations: 117.5 kB / 422.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.1169, allocations: 110.8 kB / 422.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.117, allocations: 136.4 kB / 422.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.117, allocations: 33.7 kB / 422.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1171, allocations: 96.02 kB / 422.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1171, allocations: 11.94 kB / 422.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1171, allocations: 21.72 kB / 422.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1173, allocations: 326.8 kB / 423 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.271e-05/0.1173, allocations: 11.98 kB / 423 MB, free: 7.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.1174, allocations: 71.72 kB / 423 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1176, allocations: 91.59 kB / 423.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1176, allocations: 0 / 423.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.1178, allocations: 113.4 kB / 423.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1178, allocations: 4 kB / 423.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1178, allocations: 4 kB / 423.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1178, allocations: 0 / 423.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.1179, allocations: 23.92 kB / 423.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1179, allocations: 4 kB / 423.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1179, allocations: 4 kB / 423.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.118, allocations: 7.984 kB / 423.3 MB, free: 7.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001244/0.1181, allocations: 138.6 kB / 423.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.1182, allocations: 77.59 kB / 423.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.1183, allocations: 8.719 kB / 423.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1183, allocations: 7.938 kB / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1183, allocations: 0 / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1183, allocations: 4.172 kB / 423.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1185, allocations: 189.6 kB / 423.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1185, allocations: 3.938 kB / 423.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.1186, allocations: 19.98 kB / 423.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1186, allocations: 4 kB / 423.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1186, allocations: 3.984 kB / 423.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1186, allocations: 4 kB / 423.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1186, allocations: 3.938 kB / 423.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1191, allocations: 308.3 kB / 424.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.1192, allocations: 104.9 kB / 424.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1192, allocations: 3.984 kB / 424.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.1193, allocations: 8 kB / 424.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1193, allocations: 0 / 424.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1193, allocations: 8 kB / 424.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.1194, allocations: 113.2 kB / 424.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1194, allocations: 0 / 424.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1197, allocations: 8 kB / 424.3 MB, free: 6.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006842/0.1204, allocations: 0.8542 MB / 425.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1206, allocations: 55.92 kB / 425.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1206, allocations: 0 / 425.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.1206, allocations: 15.92 kB / 425.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.1211, allocations: 40.11 kB / 425.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1227, allocations: 1.604 MB / 426.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1231, allocations: 0.7009 MB / 427.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.1231, allocations: 4.672 kB / 427.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1232, allocations: 23.42 kB / 427.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1232, allocations: 0 / 427.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1418, allocations: 1.916 MB / 429.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.01, allocations: 18.92 kB / 429.5 MB, free: 1.051 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.551763719005976] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 8.130157353996765 8.144077198 8.027479112 Calling exit ...