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.0009407/0.0009408, allocations: 92 kB / 15.36 MB, free: 0.7383 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.004774/0.004774, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.127/0.127, allocations: 2.949 MB / 294.4 MB, free: 3.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 356.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08425, allocations: 51.35 MB / 407.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001744/0.08602, allocations: 1.244 MB / 409.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.08702, allocations: 0.7852 MB / 410 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.08707, allocations: 3.938 kB / 410 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.08732, allocations: 31.91 kB / 410 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.08743, allocations: 31.91 kB / 410 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.524e-05/0.08747, allocations: 3.984 kB / 410 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.224e-05/0.08754, allocations: 23.94 kB / 410.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.08761, allocations: 11.97 kB / 410.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.08767, allocations: 11.94 kB / 410.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.08779, allocations: 19.86 kB / 410.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.0878, allocations: 0 / 410.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.0879, allocations: 31.91 kB / 410.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.08791, allocations: 4 kB / 410.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.08795, allocations: 33.64 kB / 410.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.08807, allocations: 52.16 kB / 410.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08808, allocations: 0 / 410.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08809, allocations: 0 / 410.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.0881, allocations: 0 / 410.2 MB, free: 13.55 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.0003859/0.08849, allocations: 351.4 kB / 410.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.08854, allocations: 15.97 kB / 410.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.08858, allocations: 30.75 kB / 410.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.08861, allocations: 4.844 kB / 410.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.08874, allocations: 172.3 kB / 410.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.08876, allocations: 4.375 kB / 410.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.08877, allocations: 8.375 kB / 410.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.08888, allocations: 38.25 kB / 410.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.0889, allocations: 3.938 kB / 410.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.08891, allocations: 0 / 410.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.08892, allocations: 0 / 410.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.08901, allocations: 23.98 kB / 410.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.0893, allocations: 248.9 kB / 411.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.08939, allocations: 38.5 kB / 411.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.08945, allocations: 16.91 kB / 411.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.08947, allocations: 8 kB / 411.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.08949, allocations: 30.56 kB / 411.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.0895, allocations: 0 / 411.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002114/0.08971, allocations: 65.53 kB / 411.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.08975, allocations: 51.41 kB / 411.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.08986, allocations: 122 kB / 411.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.08988, allocations: 25.7 kB / 411.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.08992, allocations: 88.12 kB / 411.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.08994, allocations: 7.906 kB / 411.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.08998, allocations: 9.719 kB / 411.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.09007, allocations: 314.8 kB / 411.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.09012, allocations: 7.984 kB / 411.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.09016, allocations: 16 kB / 411.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.09024, allocations: 28.84 kB / 411.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.09025, allocations: 3.938 kB / 411.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.09037, allocations: 49.62 kB / 412 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.0904, allocations: 8 kB / 412 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.09041, allocations: 4.094 kB / 412 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.09042, allocations: 0 / 412 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.09049, allocations: 15.92 kB / 412 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.09051, allocations: 3.938 kB / 412 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.09054, allocations: 4 kB / 412 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.09055, allocations: 0 / 412 MB, free: 11.53 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 6.692e-05/0.09063, allocations: 113.8 kB / 412.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.09066, allocations: 3.906 kB / 412.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.09069, allocations: 15.52 kB / 412.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.09069, allocations: 4 kB / 412.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.0907, allocations: 4 kB / 412.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.09071, allocations: 0 / 412.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.09086, allocations: 161.6 kB / 412.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.09087, allocations: 0 / 412.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.09091, allocations: 11.98 kB / 412.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.09092, allocations: 0 / 412.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.09093, allocations: 0 / 412.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09094, allocations: 3.938 kB / 412.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09095, allocations: 4 kB / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.0911, allocations: 147.5 kB / 412.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.09115, allocations: 85.02 kB / 412.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.09117, allocations: 7.984 kB / 412.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.09124, allocations: 0 / 412.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.09127, allocations: 12.02 kB / 412.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.09128, allocations: 0 / 412.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.09134, allocations: 91.27 kB / 412.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09134, allocations: 0 / 412.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.09158, allocations: 4 kB / 412.7 MB, free: 10.78 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.0007444/0.09233, allocations: 0.7848 MB / 413.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.09246, allocations: 23.98 kB / 413.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09247, allocations: 0 / 413.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.09252, allocations: 12.06 kB / 413.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.09278, allocations: 14.75 kB / 413.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.09389, allocations: 1.258 MB / 414.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.09411, allocations: 0.677 MB / 415.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.09414, allocations: 4 kB / 415.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.0942, allocations: 19.42 kB / 415.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.0942, allocations: 0 / 415.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1196, allocations: 1.432 MB / 416.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.1198, allocations: 214.8 kB / 417.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.824, allocations: 0 / 417.1 MB, free: 6.301 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)