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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.007956/0.007957, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.002062/0.002062, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.1533/0.1533, allocations: 2.936 MB / 293.5 MB, free: 3.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 405.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2577, allocations: 50.34 MB / 456.1 MB, free: 27.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002646/0.2604, allocations: 1.54 MB / 457.6 MB, free: 26.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.2611, allocations: 0.7965 MB / 458.4 MB, free: 26.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.2612, allocations: 0 / 458.4 MB, free: 26.34 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.2615, allocations: 42.11 kB / 458.5 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2616, allocations: 35.7 kB / 458.5 MB, free: 26.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.133e-05/0.2616, allocations: 3.938 kB / 458.5 MB, free: 26.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.2617, allocations: 31.22 kB / 458.6 MB, free: 26.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.2618, allocations: 10.42 kB / 458.6 MB, free: 26.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.2618, allocations: 9.844 kB / 458.6 MB, free: 26.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2619, allocations: 17.88 kB / 458.6 MB, free: 26.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.262, allocations: 3.938 kB / 458.6 MB, free: 26.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.262, allocations: 29.89 kB / 458.6 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2621, allocations: 7.516 kB / 458.6 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.2621, allocations: 14.97 kB / 458.6 MB, free: 26.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.2622, allocations: 51.06 kB / 458.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2622, allocations: 0 / 458.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2623, allocations: 0 / 458.7 MB, free: 26.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2623, allocations: 0 / 458.7 MB, free: 26.21 MB / 366.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.000355/0.2626, allocations: 346.8 kB / 459 MB, free: 25.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2627, allocations: 20.59 kB / 459.1 MB, free: 25.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.968e-05/0.2627, allocations: 33.59 kB / 459.1 MB, free: 25.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.2627, allocations: 8.828 kB / 459.1 MB, free: 25.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2628, allocations: 171.2 kB / 459.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.2628, allocations: 6.578 kB / 459.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2629, allocations: 384 / 459.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.2629, allocations: 35.5 kB / 459.3 MB, free: 25.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.263, allocations: 3.938 kB / 459.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.263, allocations: 7.312 kB / 459.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.263, allocations: 0 / 459.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.702e-05/0.2631, allocations: 11.78 kB / 459.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.2633, allocations: 260.9 kB / 459.6 MB, free: 25.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.2634, allocations: 31.77 kB / 459.6 MB, free: 25.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.2634, allocations: 15.05 kB / 459.6 MB, free: 25.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.2634, allocations: 0 / 459.6 MB, free: 25.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.2634, allocations: 30.56 kB / 459.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2635, allocations: 4 kB / 459.7 MB, free: 25.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001869/0.2636, allocations: 59.61 kB / 459.7 MB, free: 25.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.2637, allocations: 51.41 kB / 459.8 MB, free: 25.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.2637, allocations: 114.9 kB / 459.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.2638, allocations: 25.7 kB / 459.9 MB, free: 24.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.2638, allocations: 91.5 kB / 460 MB, free: 24.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2638, allocations: 10.89 kB / 460 MB, free: 24.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.2638, allocations: 13.84 kB / 460 MB, free: 24.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.2639, allocations: 320.8 kB / 460.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.2639, allocations: 5.844 kB / 460.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.2639, allocations: 6.594 kB / 460.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.264, allocations: 24.97 kB / 460.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.264, allocations: 7.875 kB / 460.4 MB, free: 24.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.24e-05/0.2641, allocations: 59.7 kB / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2641, allocations: 6.094 kB / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.2641, allocations: 0 / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2642, allocations: 0 / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.2642, allocations: 6.406 kB / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2642, allocations: 0 / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.2643, allocations: 3.375 kB / 460.4 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.2643, allocations: 3.938 kB / 460.5 MB, free: 24.44 MB / 366.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 3.86e-05/0.2643, allocations: 117.8 kB / 460.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.2643, allocations: 6.812 kB / 460.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.2644, allocations: 7.531 kB / 460.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2644, allocations: 0 / 460.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2644, allocations: 3.422 kB / 460.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2644, allocations: 2.969 kB / 460.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2645, allocations: 158.9 kB / 460.7 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2645, allocations: 0 / 460.7 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.2645, allocations: 10.62 kB / 460.8 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2646, allocations: 0 / 460.8 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.2646, allocations: 0 / 460.8 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2646, allocations: 4 kB / 460.8 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2646, allocations: 3.156 kB / 460.8 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.2647, allocations: 157.1 kB / 460.9 MB, free: 23.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.2647, allocations: 77.11 kB / 461 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2647, allocations: 2.688 kB / 461 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.2648, allocations: 0 / 461 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.2648, allocations: 6.594 kB / 461 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2648, allocations: 4.031 kB / 461 MB, free: 23.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.2649, allocations: 85.59 kB / 461.1 MB, free: 23.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 3.062 kB / 461.1 MB, free: 23.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.2651, allocations: 13.59 kB / 461.1 MB, free: 23.77 MB / 366.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.0007554/0.2659, allocations: 0.7831 MB / 461.9 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.266, allocations: 19.64 kB / 461.9 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.266, allocations: 0 / 461.9 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.266, allocations: 6.188 kB / 461.9 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2663, allocations: 13.69 kB / 461.9 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.2671, allocations: 1.227 MB / 463.2 MB, free: 21.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.2672, allocations: 0.6856 MB / 463.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.2673, allocations: 3.312 kB / 463.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.2673, allocations: 17.91 kB / 463.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2673, allocations: 0 / 463.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2949, allocations: 1.784 MB / 465.6 MB, free: 20.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.335, allocations: 3.203 kB / 465.6 MB, free: 20.61 MB / 366.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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.SSVTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)