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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001489/0.001489, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.781 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.01525/0.01525, allocations: 3.277 MB / 315.7 MB, free: 15.57 MB / 254.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.00211/0.00211, allocations: 63.91 kB / 439.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09169, allocations: 54.4 MB / 493.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003104/0.09479, allocations: 1.655 MB / 495.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.0975, allocations: 1.808 MB / 497.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.09756, allocations: 0 / 497.4 MB, free: 1.922 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.0006804/0.09824, allocations: 159.4 kB / 497.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.09839, allocations: 71.67 kB / 497.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.09861, allocations: 87.78 kB / 497.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.09879, allocations: 79.77 kB / 497.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.09887, allocations: 7.984 kB / 497.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.09894, allocations: 35.86 kB / 497.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.09908, allocations: 39.77 kB / 497.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.09909, allocations: 4 kB / 497.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.09948, allocations: 239.7 kB / 498.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.09955, allocations: 27.91 kB / 498.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.0996, allocations: 31.8 kB / 498.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1, allocations: 259.2 kB / 498.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1, allocations: 0 / 498.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1, allocations: 4 kB / 498.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1, allocations: 0 / 498.4 MB, free: 0.8945 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.0006246/0.1006, allocations: 411 kB / 498.8 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1007, allocations: 8.031 kB / 498.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1007, allocations: 34.75 kB / 498.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.1008, allocations: 12.89 kB / 498.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.101, allocations: 166.1 kB / 499 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.101, allocations: 384 / 499 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1011, allocations: 7.938 kB / 499 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.1013, allocations: 117.1 kB / 499.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1013, allocations: 0 / 499.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1013, allocations: 4 kB / 499.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1013, allocations: 0 / 499.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1015, allocations: 85.59 kB / 499.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1019, allocations: 260.8 kB / 499.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1021, allocations: 110.8 kB / 499.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1022, allocations: 75.45 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1022, allocations: 3.938 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1024, allocations: 164.5 kB / 499.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1024, allocations: 3.938 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005255/0.103, allocations: 290.8 kB / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.103, allocations: 110.9 kB / 0.4885 GB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1032, allocations: 162.1 kB / 0.4886 GB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1032, allocations: 29.7 kB / 0.4887 GB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1033, allocations: 92.14 kB / 0.4888 GB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1033, allocations: 19.84 kB / 0.4888 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1034, allocations: 25.72 kB / 0.4888 GB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1035, allocations: 326.8 kB / 0.4891 GB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1036, allocations: 73.67 kB / 0.4892 GB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1037, allocations: 75.41 kB / 0.4892 GB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1039, allocations: 157 kB / 0.4894 GB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1039, allocations: 3.938 kB / 0.4894 GB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003398/0.1043, allocations: 221 kB / 0.4896 GB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.1043, allocations: 41.69 kB / 0.4897 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1043, allocations: 3.984 kB / 0.4897 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1043, allocations: 4 kB / 0.4897 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.1044, allocations: 11.98 kB / 0.4897 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1044, allocations: 0 / 0.4897 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.1045, allocations: 11.88 kB / 0.4897 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1045, allocations: 8.031 kB / 0.4897 GB, free: 13.47 MB / 366.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.000142/0.1047, allocations: 159.5 kB / 0.4898 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1047, allocations: 7.953 kB / 0.4899 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.1047, allocations: 16.7 kB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1047, allocations: 0 / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1047, allocations: 4 kB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1047, allocations: 7.875 kB / 0.4899 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1049, allocations: 164.7 kB / 0.49 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1049, allocations: 0 / 0.49 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.105, allocations: 8 kB / 0.49 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.105, allocations: 4 kB / 0.49 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.105, allocations: 4 kB / 0.4901 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.105, allocations: 3.938 kB / 0.4901 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.105, allocations: 0 / 0.4901 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.1054, allocations: 281.2 kB / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.1054, allocations: 15.94 kB / 0.4903 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1055, allocations: 4 kB / 0.4903 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1055, allocations: 4 kB / 0.4903 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1056, allocations: 15.86 kB / 0.4904 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1056, allocations: 8 kB / 0.4904 GB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1057, allocations: 126.2 kB / 0.4905 GB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1057, allocations: 0 / 0.4905 GB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.106, allocations: 87.69 kB / 0.4906 GB, free: 12.48 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.002085/0.1081, allocations: 1.161 MB / 0.4917 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.1085, allocations: 222.7 kB / 0.4919 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1085, allocations: 0 / 0.4919 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1087, allocations: 141 kB / 0.4921 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1089, allocations: 19.92 kB / 0.4921 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1113, allocations: 2.03 MB / 0.4941 GB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.1114, allocations: 91.45 kB / 0.4941 GB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.1115, allocations: 16.64 kB / 0.4942 GB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.1115, allocations: 39.41 kB / 0.4942 GB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1115, allocations: 0 / 0.4942 GB, free: 8.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.1457, allocations: 5.396 MB / 0.4995 GB, free: 3.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.56, allocations: 5.875 kB / 0.4995 GB, free: 3.27 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.167622119188309] Failed to read output from testmodel.py, exit status != 0: 11.707141755148768 11.727835997 11.624074099 Calling exit ...