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.001402/0.001402, allocations: 115.7 kB / 17.17 MB, free: 5.98 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.001478/0.001478, allocations: 219 kB / 20.14 MB, free: 3.035 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.01655/0.01655, allocations: 3.27 MB / 312.8 MB, free: 2.133 MB / 238.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.001982/0.001982, allocations: 68.7 kB / 435.1 MB, free: 39.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09824, allocations: 54.34 MB / 489.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002909/0.1012, allocations: 1.681 MB / 491.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1034, allocations: 1.762 MB / 492.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1035, allocations: 5.25 kB / 492.9 MB, free: 10.89 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.0007421/0.1043, allocations: 170.7 kB / 493 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1044, allocations: 62.14 kB / 493.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1046, allocations: 87.14 kB / 493.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1048, allocations: 76.52 kB / 493.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.1049, allocations: 12.77 kB / 493.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.1049, allocations: 38.53 kB / 493.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1051, allocations: 37.38 kB / 493.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1051, allocations: 4.719 kB / 493.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1055, allocations: 259.7 kB / 493.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1055, allocations: 18.64 kB / 493.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1056, allocations: 42.38 kB / 493.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1059, allocations: 270.2 kB / 493.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.106, allocations: 3.938 kB / 493.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.106, allocations: 0 / 493.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.106, allocations: 5.469 kB / 493.9 MB, free: 10.24 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.0005765/0.1065, allocations: 483.3 kB / 494.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1066, allocations: 9.656 kB / 494.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.2e-05/0.1066, allocations: 192 / 494.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.221e-05/0.1066, allocations: 37.34 kB / 494.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.1067, allocations: 14.45 kB / 494.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1069, allocations: 214.5 kB / 494.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1069, allocations: 9.188 kB / 494.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1069, allocations: 3.031 kB / 494.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1071, allocations: 91.47 kB / 494.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1071, allocations: 0 / 494.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1071, allocations: 1.531 kB / 494.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1071, allocations: 5.234 kB / 494.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1073, allocations: 55.53 kB / 494.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1076, allocations: 300 kB / 495.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1077, allocations: 69.59 kB / 495.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.1078, allocations: 55.22 kB / 495.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1078, allocations: 1.375 kB / 495.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.108, allocations: 133.8 kB / 495.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.108, allocations: 0 / 495.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000464/0.1085, allocations: 227.2 kB / 495.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1085, allocations: 106.8 kB / 495.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1086, allocations: 160.8 kB / 495.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1087, allocations: 25.7 kB / 495.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.1087, allocations: 96.08 kB / 496 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1087, allocations: 31.92 kB / 496 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1088, allocations: 21.72 kB / 496 MB, free: 8.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.1088, allocations: 326.8 kB / 496.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.1089, allocations: 39.95 kB / 496.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.109, allocations: 49.69 kB / 496.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1091, allocations: 145 kB / 496.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1091, allocations: 0 / 496.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.1094, allocations: 183.2 kB / 496.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.1094, allocations: 49.66 kB / 496.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1094, allocations: 0 / 496.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1094, allocations: 4 kB / 496.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.1095, allocations: 15.92 kB / 496.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1095, allocations: 0 / 496.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.1096, allocations: 7.938 kB / 496.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1096, allocations: 4 kB / 496.9 MB, free: 7.293 MB / 350.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 9.35e-05/0.1097, allocations: 155.5 kB / 497 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1097, allocations: 15.95 kB / 497 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.1097, allocations: 16.7 kB / 497 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1097, allocations: 0 / 497 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1097, allocations: 0 / 497 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1097, allocations: 7.938 kB / 497 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1098, allocations: 201.5 kB / 497.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1099, allocations: 4 kB / 497.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.1099, allocations: 7.984 kB / 497.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1099, allocations: 4 kB / 497.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1099, allocations: 0 / 497.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1099, allocations: 4 kB / 497.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1099, allocations: 4 kB / 497.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1102, allocations: 243.5 kB / 497.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.1102, allocations: 92.98 kB / 497.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1103, allocations: 8 kB / 497.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1103, allocations: 4 kB / 497.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1104, allocations: 15.92 kB / 497.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1104, allocations: 8.125 kB / 497.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.1104, allocations: 119.2 kB / 497.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1104, allocations: 0 / 497.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.1108, allocations: 95.62 kB / 497.8 MB, free: 6.191 MB / 350.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.001704/0.1125, allocations: 1.102 MB / 498.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1127, allocations: 147.4 kB / 499.1 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1128, allocations: 0 / 499.1 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1129, allocations: 107.3 kB / 499.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1131, allocations: 34.98 kB / 499.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1147, allocations: 1.853 MB / 0.4893 GB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.1148, allocations: 0.7002 MB / 0.49 GB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.1148, allocations: 12.67 kB / 0.49 GB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1149, allocations: 39.41 kB / 0.4901 GB, free: 2.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1149, allocations: 0 / 0.4901 GB, free: 2.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1485, allocations: 4.757 MB / 0.4947 GB, free: 13.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.433, allocations: 7.031 kB / 0.4947 GB, free: 13.33 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.15959037601715] Failed to read output from testmodel.py, exit status != 0: 8.592418683983851 8.608859772 8.499395744 Calling exit ...