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.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.001889/0.001889, allocations: 105.8 kB / 16.45 MB, free: 6.508 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.001941/0.001941, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01293/0.01293, allocations: 2.978 MB / 305.7 MB, free: 6.828 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo) 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(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 0.002784/0.002784, allocations: 67.89 kB / 425.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1084, allocations: 53.07 MB / 478.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003408/0.1118, allocations: 1.544 MB / 480 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.113, allocations: 0.8088 MB / 480.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1131, allocations: 0 / 480.8 MB, free: 14.43 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1134, allocations: 35.84 kB / 480.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1136, allocations: 39.83 kB / 480.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.375e-05/0.1136, allocations: 3.938 kB / 480.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1137, allocations: 27.92 kB / 480.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.1138, allocations: 8 kB / 480.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.1138, allocations: 11.92 kB / 480.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.114, allocations: 19.91 kB / 481 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.114, allocations: 8 kB / 481 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.1141, allocations: 23.98 kB / 481 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.1141, allocations: 4 kB / 481 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1141, allocations: 15.88 kB / 481 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1142, allocations: 47.81 kB / 481.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1142, allocations: 0 / 481.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1142, allocations: 0 / 481.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1143, allocations: 4 kB / 481.1 MB, free: 14.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005183/0.1148, allocations: 347.3 kB / 481.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1148, allocations: 11.89 kB / 481.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1149, allocations: 38.75 kB / 481.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1149, allocations: 4.891 kB / 481.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1152, allocations: 172.4 kB / 481.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1152, allocations: 384 / 481.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.1152, allocations: 384 / 481.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1153, allocations: 42.25 kB / 481.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1153, allocations: 7.875 kB / 481.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1153, allocations: 0 / 481.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1153, allocations: 0 / 481.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.1154, allocations: 19.98 kB / 481.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1158, allocations: 256.9 kB / 481.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.1159, allocations: 30.5 kB / 482 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.1159, allocations: 16.92 kB / 482 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1159, allocations: 0 / 482 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.116, allocations: 38.5 kB / 482 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.116, allocations: 0 / 482 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002683/0.1162, allocations: 61.61 kB / 482.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1163, allocations: 51.41 kB / 482.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1164, allocations: 117.8 kB / 482.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1164, allocations: 25.7 kB / 482.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1165, allocations: 84.14 kB / 482.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1165, allocations: 12.08 kB / 482.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.1165, allocations: 13.7 kB / 482.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1167, allocations: 318.8 kB / 482.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.1167, allocations: 4 kB / 482.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.1167, allocations: 11.92 kB / 482.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.1168, allocations: 24.84 kB / 482.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1168, allocations: 8 kB / 482.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.1169, allocations: 49.64 kB / 482.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1169, allocations: 8 kB / 482.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1169, allocations: 0 / 482.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1169, allocations: 0 / 482.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.117, allocations: 7.938 kB / 482.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.117, allocations: 3.984 kB / 482.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.117, allocations: 4 kB / 482.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.117, allocations: 0 / 482.8 MB, free: 12.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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.326e-05/0.1171, allocations: 125.7 kB / 482.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1172, allocations: 4 kB / 482.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.1172, allocations: 3.531 kB / 482.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1172, allocations: 0 / 482.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1172, allocations: 0 / 482.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1172, allocations: 0 / 482.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1174, allocations: 169.6 kB / 483.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1174, allocations: 0 / 483.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.1174, allocations: 8 kB / 483.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1174, allocations: 4 kB / 483.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1174, allocations: 0 / 483.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1174, allocations: 0 / 483.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1174, allocations: 7.984 kB / 483.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1176, allocations: 147.4 kB / 483.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1176, allocations: 81.11 kB / 483.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1177, allocations: 0 / 483.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.1177, allocations: 4.031 kB / 483.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1177, allocations: 7.984 kB / 483.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1177, allocations: 3.938 kB / 483.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.1178, allocations: 87.28 kB / 483.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1178, allocations: 0 / 483.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.118, allocations: 19.92 kB / 483.5 MB, free: 11.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.001041/0.1191, allocations: 0.7714 MB / 484.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1192, allocations: 27.92 kB / 484.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1192, allocations: 0 / 484.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.1192, allocations: 11.98 kB / 484.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1195, allocations: 12.12 kB / 484.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1207, allocations: 1.234 MB / 485.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1211, allocations: 0.6805 MB / 486.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.1211, allocations: 0 / 486.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.1211, allocations: 19.42 kB / 486.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1211, allocations: 0 / 486.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.1486, allocations: 1.794 MB / 488 MB, free: 6.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.061, allocations: 10.27 kB / 488 MB, free: 6.855 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_SSVTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.573401201982051] Failed to read output from testmodel.py, exit status != 0: 8.158916795626283 8.17493106 8.05652233 Calling exit ...