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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 191 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1467/0.1467, allocations: 2.945 MB / 293 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.11 kB / 354.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1003, allocations: 50.34 MB / 404.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002781/0.1031, allocations: 1.587 MB / 406.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00098/0.1041, allocations: 0.7813 MB / 407 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.1041, allocations: 11.88 kB / 407 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1044, allocations: 27.91 kB / 407 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1046, allocations: 35.91 kB / 407.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.527e-05/0.1046, allocations: 0 / 407.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.1047, allocations: 27.92 kB / 407.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.1048, allocations: 12 kB / 407.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1049, allocations: 11.92 kB / 407.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.105, allocations: 19.94 kB / 407.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.105, allocations: 3.984 kB / 407.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.1051, allocations: 27.92 kB / 407.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1051, allocations: 11.98 kB / 407.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1052, allocations: 7.938 kB / 407.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1053, allocations: 52.16 kB / 407.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1053, allocations: 0 / 407.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1053, allocations: 0 / 407.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1053, allocations: 0 / 407.2 MB, free: 14.98 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.0004261/0.1058, allocations: 355.3 kB / 407.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1058, allocations: 15.89 kB / 407.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.1058, allocations: 34.69 kB / 407.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1059, allocations: 4.844 kB / 407.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.106, allocations: 180.3 kB / 407.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.106, allocations: 384 / 407.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1061, allocations: 4.375 kB / 407.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1062, allocations: 38.19 kB / 407.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1062, allocations: 11.92 kB / 407.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1062, allocations: 8 kB / 407.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1062, allocations: 0 / 407.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.1063, allocations: 11.98 kB / 407.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.1066, allocations: 256.8 kB / 408.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.1067, allocations: 30.5 kB / 408.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.1067, allocations: 16.92 kB / 408.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1067, allocations: 0 / 408.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1068, allocations: 34.56 kB / 408.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1068, allocations: 0 / 408.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.107, allocations: 57.61 kB / 408.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.107, allocations: 51.41 kB / 408.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.1071, allocations: 118 kB / 408.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1071, allocations: 29.7 kB / 408.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.1072, allocations: 84.14 kB / 408.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1072, allocations: 7.891 kB / 408.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1072, allocations: 17.7 kB / 408.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.1073, allocations: 314.8 kB / 408.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.1074, allocations: 4 kB / 408.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.1074, allocations: 15.98 kB / 408.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.1075, allocations: 20.84 kB / 408.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1075, allocations: 3.938 kB / 408.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.1076, allocations: 57.53 kB / 409 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1076, allocations: 4 kB / 409 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1076, allocations: 0 / 409 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1077, allocations: 4 kB / 409 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1077, allocations: 7.938 kB / 409 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1077, allocations: 4.094 kB / 409 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.1078, allocations: 3.984 kB / 409 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1078, allocations: 0 / 409 MB, free: 12.97 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 7.935e-05/0.1079, allocations: 117.8 kB / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1079, allocations: 0 / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.1079, allocations: 7.531 kB / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1079, allocations: 0 / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1079, allocations: 0 / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1079, allocations: 0 / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1081, allocations: 165.6 kB / 409.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1081, allocations: 4 kB / 409.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1081, allocations: 4 kB / 409.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1082, allocations: 0 / 409.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1082, allocations: 4 kB / 409.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1082, allocations: 3.938 kB / 409.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1082, allocations: 3.984 kB / 409.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1083, allocations: 159.3 kB / 409.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.1084, allocations: 77.11 kB / 409.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1084, allocations: 4 kB / 409.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.1085, allocations: 0 / 409.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1085, allocations: 3.984 kB / 409.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.1085, allocations: 0 / 409.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.331e-05/0.1086, allocations: 87.28 kB / 409.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1086, allocations: 4 kB / 409.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1088, allocations: 11.98 kB / 409.7 MB, free: 12.23 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.000778/0.1096, allocations: 0.7698 MB / 410.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1097, allocations: 23.98 kB / 410.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1097, allocations: 0 / 410.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.1098, allocations: 11.98 kB / 410.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.11, allocations: 19.88 kB / 410.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1111, allocations: 1.242 MB / 411.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1113, allocations: 0.6844 MB / 412.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.47e-05/0.1114, allocations: 4 kB / 412.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.1114, allocations: 15.42 kB / 412.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1114, allocations: 0 / 412.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/0.1657, allocations: 1.606 MB / 414 MB, free: 7.852 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.1659, allocations: 216.8 kB / 414.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/2.668, allocations: 0 / 414.2 MB, free: 7.594 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)