Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.0007573/0.0007573, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.395/1.395, allocations: 223.2 MB / 239 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 184.4 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03345/0.03345, allocations: 8.774 MB / 350.1 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 9.094 kB / 413.3 MB, free: 42.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09716, allocations: 52.57 MB / 465.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0005548/0.09775, allocations: 258.3 kB / 466.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.09895, allocations: 1.085 MB / 467.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.099, allocations: 0 / 467.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.09915, allocations: 12 kB / 467.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.09927, allocations: 23.89 kB / 467.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.09935, allocations: 11.94 kB / 467.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.09942, allocations: 27.91 kB / 467.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.09948, allocations: 4 kB / 467.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.09956, allocations: 27.86 kB / 467.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.09967, allocations: 39.88 kB / 467.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.0997, allocations: 0 / 467.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.09972, allocations: 8 kB / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.09981, allocations: 31.91 kB / 467.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.09985, allocations: 37.62 kB / 467.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.104e-05/0.09991, allocations: 27.95 kB / 467.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09992, allocations: 0 / 467.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09992, allocations: 0 / 467.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09994, allocations: 0 / 467.4 MB, free: 11.78 MB / 302.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.0005109/0.1005, allocations: 403.2 kB / 467.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1005, allocations: 12.03 kB / 467.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.1005, allocations: 30.56 kB / 467.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1006, allocations: 15.77 kB / 467.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1008, allocations: 219.3 kB / 468.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1008, allocations: 0 / 468.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1008, allocations: 0 / 468.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1009, allocations: 41.62 kB / 468.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1009, allocations: 4 kB / 468.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1009, allocations: 3.938 kB / 468.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1009, allocations: 7.953 kB / 468.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.101, allocations: 7.984 kB / 468.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1012, allocations: 189.7 kB / 468.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.1012, allocations: 30.56 kB / 468.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.1013, allocations: 20.88 kB / 468.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1013, allocations: 4 kB / 468.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1013, allocations: 30.56 kB / 468.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.1013, allocations: 7.984 kB / 468.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000153/0.1015, allocations: 61.59 kB / 468.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1015, allocations: 51.41 kB / 468.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1017, allocations: 214.3 kB / 468.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1018, allocations: 29.7 kB / 468.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1018, allocations: 100.1 kB / 468.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1019, allocations: 19.78 kB / 468.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1019, allocations: 0 / 468.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.102, allocations: 326.8 kB / 469.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.102, allocations: 11.92 kB / 469.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.102, allocations: 4 kB / 469.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.1021, allocations: 11.98 kB / 469.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1021, allocations: 3.938 kB / 469.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.845e-05/0.1022, allocations: 53.59 kB / 469.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1022, allocations: 8 kB / 469.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1022, allocations: 0 / 469.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1022, allocations: 0 / 469.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.1023, allocations: 4 kB / 469.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.1023, allocations: 4 kB / 469.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1023, allocations: 11.94 kB / 469.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1024, allocations: 0 / 469.3 MB, free: 9.652 MB / 302.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.1024, allocations: 117.8 kB / 469.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1025, allocations: 11.91 kB / 469.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.1026, allocations: 74.45 kB / 469.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1026, allocations: 0 / 469.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1026, allocations: 0 / 469.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1026, allocations: 7.984 kB / 469.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1028, allocations: 177.6 kB / 469.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1028, allocations: 3.938 kB / 469.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.1028, allocations: 11.98 kB / 469.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1029, allocations: 0 / 469.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1029, allocations: 0 / 469.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1029, allocations: 0 / 469.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1029, allocations: 0 / 469.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.103, allocations: 88.92 kB / 469.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1031, allocations: 97.36 kB / 469.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1031, allocations: 4 kB / 469.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.1031, allocations: 7.984 kB / 469.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1032, allocations: 0 / 469.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1032, allocations: 0 / 469.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1033, allocations: 168.3 kB / 470.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1033, allocations: 0 / 470.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.1035, allocations: 8 kB / 470.1 MB, free: 8.785 MB / 302.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003534/0.1039, allocations: 0.6278 MB / 470.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.395e-05/0.104, allocations: 19.98 kB / 470.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.104, allocations: 0 / 470.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.104, allocations: 4 kB / 470.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1042, allocations: 8 kB / 470.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.1051, allocations: 0.7223 MB / 471.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1054, allocations: 0.708 MB / 472.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1055, allocations: 20.11 kB / 472.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.1055, allocations: 31.42 kB / 472.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1055, allocations: 3.938 kB / 472.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1169, allocations: 1.764 MB / 474 MB, free: 4.898 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.1171, allocations: 183.6 kB / 474.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.676, allocations: 0 / 474.2 MB, free: 4.66 MB / 302.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) Environment - environmentSimulation: