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.001148/0.001148, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001364/0.001364, allocations: 215.4 kB / 23.04 MB, free: 5.074 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.01575/0.01575, allocations: 3.273 MB / 316.5 MB, free: 15.79 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.001948/0.001948, allocations: 63.91 kB / 440.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 54.39 MB / 494.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003125/0.1104, allocations: 1.679 MB / 496.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1132, allocations: 1.874 MB / 498.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.1132, allocations: 4 kB / 498.3 MB, free: 2.184 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.0006611/0.1139, allocations: 164.9 kB / 498.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.114, allocations: 67.67 kB / 498.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1142, allocations: 79.8 kB / 498.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1144, allocations: 83.77 kB / 498.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.1145, allocations: 7.984 kB / 498.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.1145, allocations: 43.78 kB / 498.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1147, allocations: 31.86 kB / 498.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1147, allocations: 8 kB / 498.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.1151, allocations: 271.7 kB / 499 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1152, allocations: 23.86 kB / 499.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1152, allocations: 39.78 kB / 499.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.1156, allocations: 263.2 kB / 499.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1156, allocations: 3.984 kB / 499.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1156, allocations: 4 kB / 499.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1156, allocations: 0 / 499.4 MB, free: 1.113 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.0006287/0.1163, allocations: 407 kB / 499.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1163, allocations: 15.97 kB / 499.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.238e-05/0.1163, allocations: 192 / 499.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1163, allocations: 38.75 kB / 499.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1164, allocations: 8.891 kB / 499.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1166, allocations: 154.2 kB / 500 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1166, allocations: 4.125 kB / 500 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1167, allocations: 4 kB / 500 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1169, allocations: 87.38 kB / 0.4883 GB, free: 336 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1169, allocations: 8 kB / 0.4884 GB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1169, allocations: 0 / 0.4884 GB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1169, allocations: 0 / 0.4884 GB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.117, allocations: 59.89 kB / 0.4884 GB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1174, allocations: 272.7 kB / 0.4887 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1176, allocations: 77.14 kB / 0.4887 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.1177, allocations: 45.75 kB / 0.4888 GB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1177, allocations: 3.984 kB / 0.4888 GB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.1179, allocations: 134.7 kB / 0.4889 GB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1179, allocations: 0 / 0.4889 GB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000477/0.1184, allocations: 223.3 kB / 0.4891 GB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.1184, allocations: 110.8 kB / 0.4892 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1186, allocations: 154.1 kB / 0.4894 GB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1186, allocations: 33.7 kB / 0.4894 GB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1187, allocations: 96.08 kB / 0.4895 GB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1187, allocations: 28.05 kB / 0.4895 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1188, allocations: 29.72 kB / 0.4896 GB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1189, allocations: 322.8 kB / 0.4899 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.119, allocations: 43.91 kB / 0.4899 GB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.1191, allocations: 41.7 kB / 0.49 GB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1193, allocations: 145 kB / 0.4901 GB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1193, allocations: 4 kB / 0.4901 GB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003113/0.1196, allocations: 195.2 kB / 0.4903 GB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.1197, allocations: 33.7 kB / 0.4903 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1197, allocations: 0 / 0.4903 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1197, allocations: 0 / 0.4903 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.1198, allocations: 11.98 kB / 0.4903 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1198, allocations: 0 / 0.4903 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.1199, allocations: 15.88 kB / 0.4903 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1199, allocations: 4.031 kB / 0.4903 GB, free: 14.07 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.000134/0.12, allocations: 163.5 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.12, allocations: 11.95 kB / 0.4905 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.1201, allocations: 8.719 kB / 0.4905 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1201, allocations: 4 kB / 0.4905 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1201, allocations: 0 / 0.4905 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1201, allocations: 3.938 kB / 0.4905 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1202, allocations: 172.6 kB / 0.4907 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1202, allocations: 0 / 0.4907 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.1203, allocations: 19.92 kB / 0.4907 GB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1203, allocations: 0 / 0.4907 GB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1203, allocations: 4 kB / 0.4907 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1203, allocations: 0 / 0.4907 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1203, allocations: 3.938 kB / 0.4907 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1207, allocations: 239.7 kB / 0.4909 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.1207, allocations: 15.88 kB / 0.491 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1208, allocations: 16 kB / 0.491 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1208, allocations: 7.984 kB / 0.491 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.1209, allocations: 11.88 kB / 0.491 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1209, allocations: 8 kB / 0.491 GB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.121, allocations: 118.2 kB / 0.4911 GB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.121, allocations: 0 / 0.4911 GB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.1213, allocations: 91.69 kB / 0.4912 GB, free: 13.1 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.001976/0.1233, allocations: 1.111 MB / 0.4923 GB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1236, allocations: 155.3 kB / 0.4924 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1236, allocations: 8 kB / 0.4924 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1238, allocations: 103.4 kB / 0.4925 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.124, allocations: 19.88 kB / 0.4926 GB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1263, allocations: 1.856 MB / 0.4944 GB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1266, allocations: 0.7001 MB / 0.4951 GB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.1267, allocations: 8.781 kB / 0.4951 GB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.1268, allocations: 51.33 kB / 0.4951 GB, free: 9.012 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1268, allocations: 0 / 0.4951 GB, free: 9.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.1624, allocations: 4.949 MB / 0.4999 GB, free: 4.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.25, allocations: 11.25 kB / 0.5 GB, free: 4.082 MB / 366.1 MB " [Timeout remaining time 649] (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.091425421996973] Failed to read output from testmodel.py, exit status != 0: 11.438339557964355 11.615409465 11.497128864 Calling exit ...