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.0008156/0.0008156, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007862/0.0007862, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.009764/0.009764, allocations: 2.256 MB / 261.4 MB, free: 10.98 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.677e-05, allocations: 2.281 kB / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002004/0.002041, allocations: 1.659 MB / 387 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.003775, allocations: 1.815 MB / 388.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.003849, allocations: 0 / 388.8 MB, free: 8.895 MB / 362.7 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.0007829/0.004632, allocations: 163.3 kB / 388.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.004777, allocations: 75.61 kB / 389 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.004977, allocations: 86.66 kB / 389.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.005134, allocations: 87.7 kB / 389.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.00522, allocations: 19.77 kB / 389.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.005294, allocations: 43.91 kB / 389.2 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005407, allocations: 31.89 kB / 389.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.005422, allocations: 4 kB / 389.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.005761, allocations: 247.5 kB / 389.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.005824, allocations: 15.94 kB / 389.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.005871, allocations: 31.91 kB / 389.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.006221, allocations: 307.2 kB / 389.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006223, allocations: 0 / 389.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006224, allocations: 0 / 389.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.006228, allocations: 0 / 389.9 MB, free: 7.805 MB / 362.7 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.0005239/0.006752, allocations: 419 kB / 390.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.006793, allocations: 8.031 kB / 390.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.006822, allocations: 34.75 kB / 390.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.006861, allocations: 8.891 kB / 390.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.007077, allocations: 153 kB / 390.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.007089, allocations: 8.375 kB / 390.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.0071, allocations: 384 / 390.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.007292, allocations: 129.4 kB / 390.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007301, allocations: 0 / 390.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.00731, allocations: 0 / 390.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.007316, allocations: 4 kB / 390.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.776e-05/0.007414, allocations: 77.61 kB / 390.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.00773, allocations: 272.7 kB / 391 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.007842, allocations: 106.8 kB / 391.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.007917, allocations: 79.45 kB / 391.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.007934, allocations: 7.984 kB / 391.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.008095, allocations: 156.5 kB / 391.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.008096, allocations: 0 / 391.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003518/0.008447, allocations: 294.8 kB / 391.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.008491, allocations: 106.8 kB / 391.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.0086, allocations: 156.9 kB / 391.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.008614, allocations: 41.77 kB / 391.9 MB, free: 5.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.008654, allocations: 92.14 kB / 392 MB, free: 5.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.008679, allocations: 23.8 kB / 392 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.008715, allocations: 25.72 kB / 392 MB, free: 5.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.008792, allocations: 326.8 kB / 392.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.008858, allocations: 73.61 kB / 392.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.008916, allocations: 83.33 kB / 392.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.009032, allocations: 145.1 kB / 392.6 MB, free: 4.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009034, allocations: 0 / 392.6 MB, free: 4.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000179/0.009213, allocations: 224.9 kB / 392.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.009241, allocations: 41.69 kB / 392.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.009245, allocations: 0 / 392.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.009256, allocations: 0 / 392.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.009314, allocations: 15.92 kB / 392.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009319, allocations: 4 kB / 392.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.009367, allocations: 11.89 kB / 392.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.009375, allocations: 4 kB / 392.9 MB, free: 4.387 MB / 362.7 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 8.934e-05/0.009464, allocations: 171.2 kB / 393.1 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.009481, allocations: 11.94 kB / 393.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.009503, allocations: 12.78 kB / 393.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.009506, allocations: 4 kB / 393.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00951, allocations: 0 / 393.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.009514, allocations: 4.078 kB / 393.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.009619, allocations: 164.7 kB / 393.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009621, allocations: 4 kB / 393.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.009644, allocations: 8 kB / 393.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009645, allocations: 0 / 393.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.009655, allocations: 4 kB / 393.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009657, allocations: 8.219 kB / 393.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009659, allocations: 3.938 kB / 393.3 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.009892, allocations: 285.1 kB / 393.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.00991, allocations: 11.94 kB / 393.6 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.009932, allocations: 8 kB / 393.6 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.009966, allocations: 11.94 kB / 393.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.009997, allocations: 3.984 kB / 393.6 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.01001, allocations: 7.938 kB / 393.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.01008, allocations: 124.3 kB / 393.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 393.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01031, allocations: 91.73 kB / 393.8 MB, free: 3.375 MB / 362.7 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.001086/0.0114, allocations: 1.164 MB / 395 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.01161, allocations: 226.7 kB / 395.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01161, allocations: 0 / 395.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.0117, allocations: 141.1 kB / 395.4 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01187, allocations: 19.98 kB / 395.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.01332, allocations: 2.03 MB / 397.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.01337, allocations: 87.48 kB / 397.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.323e-05/0.01341, allocations: 16.73 kB / 397.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.01347, allocations: 48.45 kB / 397.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01347, allocations: 0 / 397.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.03623, allocations: 5.536 MB / 403.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.131, allocations: 5.438 kB / 403.1 MB, free: 9.996 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.985821527428925] Failed to read output from testmodel.py, exit status != 0: 7.238261481747031 7.252136331 7.244106956 Calling exit ...