Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.001314/0.001314, allocations: 109.2 kB / 16.46 MB, free: 6.453 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.001463/0.001463, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.626/1.626, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01832/0.01832, allocations: 3.272 MB / 312.1 MB, free: 0.9766 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) 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(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.09 kB / 434.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 54.35 MB / 488.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003562/0.1111, allocations: 1.689 MB / 490.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1138, allocations: 1.76 MB / 492.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.1139, allocations: 3.938 kB / 492.2 MB, free: 4.836 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.1146, allocations: 167.3 kB / 492.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1148, allocations: 63.75 kB / 492.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.115, allocations: 86.16 kB / 492.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1152, allocations: 79.77 kB / 492.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.1153, allocations: 11.92 kB / 492.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.1153, allocations: 35.91 kB / 492.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1155, allocations: 39.78 kB / 492.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1155, allocations: 8 kB / 492.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.116, allocations: 259.7 kB / 492.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.116, allocations: 19.92 kB / 492.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.1161, allocations: 39.8 kB / 493 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.1165, allocations: 271.2 kB / 493.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1165, allocations: 3.938 kB / 493.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1165, allocations: 0 / 493.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1165, allocations: 0 / 493.2 MB, free: 3.773 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007447/0.1173, allocations: 484.2 kB / 493.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1173, allocations: 8.031 kB / 493.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1173, allocations: 34.75 kB / 493.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1174, allocations: 8.891 kB / 493.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.1177, allocations: 222.7 kB / 494 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1178, allocations: 384 / 494 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1178, allocations: 7.938 kB / 494 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.118, allocations: 91.31 kB / 494.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.118, allocations: 0 / 494.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.118, allocations: 4 kB / 494.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.118, allocations: 0 / 494.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1182, allocations: 51.95 kB / 494.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1186, allocations: 309.7 kB / 494.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1187, allocations: 69.19 kB / 494.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1188, allocations: 49.69 kB / 494.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1189, allocations: 4 kB / 494.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1191, allocations: 138.9 kB / 494.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1191, allocations: 4 kB / 494.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005085/0.1196, allocations: 223.2 kB / 494.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.1197, allocations: 110.9 kB / 495 MB, free: 1.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1199, allocations: 160.8 kB / 495.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1199, allocations: 29.7 kB / 495.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.12, allocations: 88.14 kB / 495.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.12, allocations: 27.78 kB / 495.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1201, allocations: 25.72 kB / 495.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1202, allocations: 322.8 kB / 495.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.1203, allocations: 35.98 kB / 495.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1205, allocations: 57.62 kB / 495.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1207, allocations: 141.1 kB / 495.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1207, allocations: 0 / 495.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003176/0.121, allocations: 187.1 kB / 496.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.121, allocations: 37.69 kB / 496.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.121, allocations: 8.031 kB / 496.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.121, allocations: 0 / 496.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.1211, allocations: 11.98 kB / 496.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1211, allocations: 3.938 kB / 496.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1213, allocations: 15.94 kB / 496.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1213, allocations: 0 / 496.1 MB, free: 0.5352 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: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001557/0.1214, allocations: 155.5 kB / 496.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1215, allocations: 7.953 kB / 496.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1215, allocations: 16.7 kB / 496.3 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1215, allocations: 4 kB / 496.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1215, allocations: 4 kB / 496.3 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1215, allocations: 7.875 kB / 496.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1218, allocations: 209.5 kB / 496.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1218, allocations: 0 / 496.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1219, allocations: 11.98 kB / 496.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1219, allocations: 0 / 496.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1219, allocations: 4 kB / 496.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1219, allocations: 0 / 496.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1219, allocations: 0 / 496.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1224, allocations: 247.5 kB / 496.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.1224, allocations: 93.05 kB / 496.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1225, allocations: 4 kB / 496.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1225, allocations: 4 kB / 496.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1226, allocations: 11.92 kB / 496.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1226, allocations: 8 kB / 496.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1227, allocations: 123.2 kB / 497 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1227, allocations: 0 / 497 MB, free: 15.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1231, allocations: 91.62 kB / 497.1 MB, free: 15.44 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.002/0.1251, allocations: 1.102 MB / 498.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.1254, allocations: 155.2 kB / 498.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1254, allocations: 0 / 498.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.1257, allocations: 115.3 kB / 498.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1259, allocations: 22.58 kB / 498.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1286, allocations: 1.857 MB / 0.4886 GB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1289, allocations: 0.7002 MB / 0.4893 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.129, allocations: 16.66 kB / 0.4893 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.1291, allocations: 43.41 kB / 0.4894 GB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1291, allocations: 0 / 0.4894 GB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.1625, allocations: 4.707 MB / 0.494 GB, free: 6.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.261, allocations: 15.67 kB / 0.494 GB, free: 6.59 MB / 366.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.SSVTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.07577473699348] Failed to read output from testmodel.py, exit status != 0: 8.365059182004188 8.386396756 8.266079176 Calling exit ...