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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000946/0.0009461, allocations: 188.9 kB / 16.13 MB, free: 6.645 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1196/0.1196, allocations: 2.931 MB / 292.9 MB, free: 3.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 354.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08218/0.08337, allocations: 50.33 MB / 404.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002922/0.08633, allocations: 1.591 MB / 406 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.08731, allocations: 0.789 MB / 406.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.08736, allocations: 0 / 406.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.08764, allocations: 27.95 kB / 406.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.08778, allocations: 27.88 kB / 406.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.356e-05/0.08782, allocations: 11.92 kB / 406.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.08788, allocations: 16 kB / 406.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.08795, allocations: 19.91 kB / 406.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.08801, allocations: 11.94 kB / 406.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.08813, allocations: 15.92 kB / 406.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.08816, allocations: 4 kB / 407 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.08824, allocations: 19.98 kB / 407 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.08827, allocations: 11.92 kB / 407 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.0883, allocations: 7.938 kB / 407 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.08843, allocations: 56.09 kB / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08844, allocations: 0 / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08845, allocations: 0 / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.08845, allocations: 0 / 407 MB, free: 15.79 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.0004443/0.0889, allocations: 351.4 kB / 407.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.08895, allocations: 12.03 kB / 407.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.08899, allocations: 30.75 kB / 407.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.08903, allocations: 8.844 kB / 407.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.08917, allocations: 176.3 kB / 407.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.08919, allocations: 384 / 407.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.0892, allocations: 4.375 kB / 407.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.08931, allocations: 38.25 kB / 407.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.08933, allocations: 7.938 kB / 407.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.08935, allocations: 4 kB / 407.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.08936, allocations: 0 / 407.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.08943, allocations: 19.86 kB / 407.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.08973, allocations: 249 kB / 407.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.08982, allocations: 34.5 kB / 408 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.08987, allocations: 12.92 kB / 408 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.08989, allocations: 7.922 kB / 408 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.08992, allocations: 38.5 kB / 408 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.08992, allocations: 0 / 408 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001918/0.09012, allocations: 53.59 kB / 408.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.09017, allocations: 55.41 kB / 408.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.09026, allocations: 118 kB / 408.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.09028, allocations: 25.7 kB / 408.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.09032, allocations: 88.12 kB / 408.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.09034, allocations: 3.906 kB / 408.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.09037, allocations: 13.72 kB / 408.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.09047, allocations: 314.8 kB / 408.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.09051, allocations: 7.984 kB / 408.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.09055, allocations: 8 kB / 408.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.09061, allocations: 28.84 kB / 408.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.09062, allocations: 7.938 kB / 408.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.09074, allocations: 53.67 kB / 408.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.09076, allocations: 4 kB / 408.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.09077, allocations: 4 kB / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.09078, allocations: 0 / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.09084, allocations: 7.984 kB / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.09085, allocations: 32 / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.09088, allocations: 4 kB / 408.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.09089, allocations: 4 kB / 408.8 MB, free: 13.79 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.599e-05/0.09096, allocations: 113.8 kB / 408.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.091, allocations: 7.906 kB / 408.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.09102, allocations: 3.531 kB / 408.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.09103, allocations: 7.922 kB / 408.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09104, allocations: 0 / 408.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.09104, allocations: 0 / 408.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.09119, allocations: 169.6 kB / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.0912, allocations: 0 / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.09124, allocations: 7.984 kB / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.09124, allocations: 0 / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.09125, allocations: 0 / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.09126, allocations: 0 / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09126, allocations: 0 / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.09141, allocations: 151.4 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.09145, allocations: 81.02 kB / 409.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.09147, allocations: 7.938 kB / 409.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.09153, allocations: 3.984 kB / 409.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.09156, allocations: 0 / 409.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.09157, allocations: 8 kB / 409.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.09163, allocations: 91.27 kB / 409.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09163, allocations: 3.938 kB / 409.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.09185, allocations: 4 kB / 409.5 MB, free: 13.05 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.0007328/0.09259, allocations: 0.7698 MB / 410.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.0927, allocations: 19.98 kB / 410.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.09271, allocations: 0 / 410.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.09275, allocations: 19.92 kB / 410.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.09299, allocations: 11.88 kB / 410.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.09407, allocations: 1.241 MB / 411.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.0943, allocations: 0.6809 MB / 412.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.352e-05/0.09433, allocations: 4 kB / 412.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.09438, allocations: 15.42 kB / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09439, allocations: 0 / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1058, allocations: 1.582 MB / 413.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.106, allocations: 207.8 kB / 414 MB, free: 8.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.672, allocations: 7.984 kB / 414 MB, free: 8.426 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)