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.001291/0.001291, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001427/0.001427, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.02541/0.02541, allocations: 3.275 MB / 316.5 MB, free: 15.62 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="cs",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.002008/0.002008, allocations: 63.91 kB / 440.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1261, allocations: 54.38 MB / 494.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003424/0.1295, allocations: 1.656 MB / 496.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1324, allocations: 1.808 MB / 498.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1324, allocations: 0 / 498.1 MB, free: 2.008 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.0007396/0.1332, allocations: 163.4 kB / 498.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1333, allocations: 63.69 kB / 498.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1335, allocations: 87.78 kB / 498.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1337, allocations: 83.7 kB / 498.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.1338, allocations: 12 kB / 498.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.1339, allocations: 39.84 kB / 498.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.134, allocations: 31.84 kB / 498.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.134, allocations: 4 kB / 498.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.1344, allocations: 263.6 kB / 498.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.1345, allocations: 19.92 kB / 498.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1345, allocations: 27.86 kB / 498.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.135, allocations: 259.2 kB / 499.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.135, allocations: 0 / 499.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.135, allocations: 0 / 499.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.135, allocations: 4 kB / 499.2 MB, free: 0.9688 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.0007142/0.1357, allocations: 422.9 kB / 499.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1357, allocations: 8.031 kB / 499.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.1358, allocations: 192 / 499.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1358, allocations: 34.75 kB / 499.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1359, allocations: 8.891 kB / 499.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1361, allocations: 154.2 kB / 499.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1362, allocations: 4.125 kB / 499.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1362, allocations: 4 kB / 499.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1364, allocations: 125 kB / 499.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1364, allocations: 4 kB / 499.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1364, allocations: 0 / 499.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1365, allocations: 0 / 499.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1366, allocations: 81.61 kB / 500 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.137, allocations: 264.8 kB / 0.4885 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1372, allocations: 102.8 kB / 0.4886 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1374, allocations: 83.38 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1374, allocations: 4 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.1376, allocations: 172.4 kB / 0.4889 GB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.457e-06/0.1376, allocations: 3.984 kB / 0.4889 GB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005504/0.1382, allocations: 286.8 kB / 0.4891 GB, free: 15.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.1383, allocations: 110.8 kB / 0.4892 GB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1385, allocations: 158.1 kB / 0.4894 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1385, allocations: 25.7 kB / 0.4894 GB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.1386, allocations: 100.1 kB / 0.4895 GB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.1386, allocations: 19.86 kB / 0.4895 GB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.1387, allocations: 33.83 kB / 0.4896 GB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1389, allocations: 318.8 kB / 0.4899 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.139, allocations: 69.67 kB / 0.4899 GB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1391, allocations: 83.39 kB / 0.49 GB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1393, allocations: 149 kB / 0.4902 GB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1393, allocations: 0 / 0.4902 GB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003572/0.1397, allocations: 224.9 kB / 0.4904 GB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.1397, allocations: 37.7 kB / 0.4904 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1398, allocations: 4.031 kB / 0.4904 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1398, allocations: 3.984 kB / 0.4904 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.1399, allocations: 8 kB / 0.4904 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1399, allocations: 0 / 0.4904 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.1399, allocations: 15.88 kB / 0.4904 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.14, allocations: 15.86 kB / 0.4905 GB, free: 13.54 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.0001583/0.1401, allocations: 155.5 kB / 0.4906 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1401, allocations: 11.95 kB / 0.4906 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.1402, allocations: 16.72 kB / 0.4906 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1402, allocations: 8 kB / 0.4906 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1402, allocations: 0 / 0.4906 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1402, allocations: 3.938 kB / 0.4906 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.1404, allocations: 164.7 kB / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1404, allocations: 0 / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.1405, allocations: 8 kB / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1405, allocations: 3.984 kB / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1405, allocations: 4 kB / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1405, allocations: 0 / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1405, allocations: 0 / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.1409, allocations: 281.2 kB / 0.4911 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.1409, allocations: 15.94 kB / 0.4911 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.141, allocations: 4 kB / 0.4911 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.141, allocations: 7.984 kB / 0.4911 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1411, allocations: 11.94 kB / 0.4911 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1411, allocations: 4 kB / 0.4911 GB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1412, allocations: 122.5 kB / 0.4912 GB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1412, allocations: 0 / 0.4912 GB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000356/0.1416, allocations: 95.67 kB / 0.4913 GB, free: 12.55 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.002189/0.1438, allocations: 1.165 MB / 0.4925 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.1441, allocations: 222.7 kB / 0.4927 GB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1441, allocations: 4 kB / 0.4927 GB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1443, allocations: 133.1 kB / 0.4928 GB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1446, allocations: 19.92 kB / 0.4928 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.147, allocations: 2.032 MB / 0.4948 GB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.727e-05/0.1471, allocations: 87.31 kB / 0.4949 GB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.1472, allocations: 12.67 kB / 0.4949 GB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.1473, allocations: 43.39 kB / 0.495 GB, free: 8.715 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1473, allocations: 4 kB / 0.495 GB, free: 8.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1773, allocations: 5.072 MB / 0.4999 GB, free: 3.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.42, allocations: 2.406 kB / 0.4999 GB, free: 3.684 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 & /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 os._exit(0), Time elapsed: 14.021521151997149] Failed to read output from testmodel.py, exit status != 0: 11.60829648305662 11.625581729 11.487387009 Calling exit ...