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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001461/0.001461, allocations: 216 kB / 22.25 MB, free: 5.254 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.797 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.01913/0.01913, allocations: 3.277 MB / 315.7 MB, free: 15.61 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="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: 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.00306/0.00306, allocations: 63.89 kB / 439.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1129, allocations: 54.37 MB / 493.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002956/0.1158, allocations: 1.659 MB / 495.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.1185, allocations: 1.816 MB / 497.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1186, allocations: 0 / 497.3 MB, free: 1.961 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.0006474/0.1192, allocations: 162.5 kB / 497.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1194, allocations: 63.69 kB / 497.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.1196, allocations: 91.77 kB / 497.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1198, allocations: 75.78 kB / 497.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.6e-05/0.1198, allocations: 7.984 kB / 497.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.1199, allocations: 39.84 kB / 497.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.12, allocations: 31.86 kB / 497.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.12, allocations: 4 kB / 497.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1205, allocations: 251.6 kB / 498.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.1205, allocations: 19.92 kB / 498.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.1206, allocations: 35.8 kB / 498.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.121, allocations: 263.2 kB / 498.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.121, allocations: 0 / 498.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.121, allocations: 0 / 498.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.121, allocations: 0 / 498.4 MB, free: 0.9375 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.0006189/0.1216, allocations: 411 kB / 498.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1217, allocations: 16.03 kB / 498.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1217, allocations: 38.67 kB / 498.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1217, allocations: 8.891 kB / 498.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.122, allocations: 154.2 kB / 499 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.122, allocations: 4.375 kB / 499 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.122, allocations: 7.938 kB / 499 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1222, allocations: 117.1 kB / 499.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1222, allocations: 0 / 499.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1223, allocations: 0 / 499.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1223, allocations: 7.938 kB / 499.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1224, allocations: 85.66 kB / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1228, allocations: 264.8 kB / 499.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.123, allocations: 102.8 kB / 499.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1231, allocations: 75.45 kB / 499.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1231, allocations: 0 / 499.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.1234, allocations: 172.4 kB / 499.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1234, allocations: 0 / 499.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005209/0.1239, allocations: 294.7 kB / 0.4884 GB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.124, allocations: 114.8 kB / 0.4885 GB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1242, allocations: 153.2 kB / 0.4886 GB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1242, allocations: 33.69 kB / 0.4887 GB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1242, allocations: 92.14 kB / 0.4887 GB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1243, allocations: 23.84 kB / 0.4888 GB, free: 14.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1243, allocations: 21.72 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1245, allocations: 326.8 kB / 0.4891 GB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1246, allocations: 69.69 kB / 0.4892 GB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1247, allocations: 87.45 kB / 0.4892 GB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1249, allocations: 153 kB / 0.4894 GB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1249, allocations: 0 / 0.4894 GB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000364/0.1253, allocations: 224.9 kB / 0.4896 GB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.1254, allocations: 37.69 kB / 0.4896 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1254, allocations: 0 / 0.4896 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1254, allocations: 0 / 0.4896 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1255, allocations: 8 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1255, allocations: 12.02 kB / 0.4897 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1255, allocations: 11.88 kB / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1256, allocations: 8 kB / 0.4897 GB, free: 13.52 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.0001395/0.1257, allocations: 155.5 kB / 0.4898 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1257, allocations: 11.95 kB / 0.4898 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.1258, allocations: 16.7 kB / 0.4899 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1258, allocations: 0 / 0.4899 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.1258, allocations: 4.062 kB / 0.4899 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1258, allocations: 7.938 kB / 0.4899 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1259, allocations: 152.7 kB / 0.49 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1259, allocations: 8 kB / 0.49 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.126, allocations: 15.86 kB / 0.49 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.126, allocations: 4 kB / 0.49 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.126, allocations: 4 kB / 0.49 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.126, allocations: 4 kB / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.126, allocations: 0 / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.1264, allocations: 277.1 kB / 0.4903 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.1265, allocations: 15.94 kB / 0.4903 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1265, allocations: 4 kB / 0.4903 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1266, allocations: 16 kB / 0.4903 GB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1266, allocations: 7.922 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1266, allocations: 4.094 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1267, allocations: 119.2 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1267, allocations: 0 / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1271, allocations: 95.69 kB / 0.4906 GB, free: 12.52 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.002037/0.1291, allocations: 1.16 MB / 0.4917 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1295, allocations: 222.7 kB / 0.4919 GB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1295, allocations: 0 / 0.4919 GB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1296, allocations: 137.1 kB / 0.492 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1299, allocations: 26.73 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.1326, allocations: 2.034 MB / 0.4941 GB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.182e-05/0.1327, allocations: 83.33 kB / 0.4941 GB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.652e-05/0.1327, allocations: 8.672 kB / 0.4941 GB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1328, allocations: 51.39 kB / 0.4942 GB, free: 8.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1328, allocations: 0 / 0.4942 GB, free: 8.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.1693, allocations: 5.402 MB / 0.4995 GB, free: 3.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.36, allocations: 2.75 kB / 0.4995 GB, free: 3.305 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 sys.exit(0), Time elapsed: 13.828141883946955] Failed to read output from testmodel.py, exit status != 0: 11.50527794007212 11.531640603 11.407349428 Calling exit ...