Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.001083/0.001083, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.318/1.318, allocations: 223.3 MB / 239.4 MB, free: 5.535 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.001512/0.001512, allocations: 172.5 kB / 290.6 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03321/0.03321, allocations: 8.807 MB / 350.5 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 14.36 kB / 413.9 MB, free: 42.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09514, allocations: 52.56 MB / 466.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0006285/0.0958, allocations: 238.3 kB / 466.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.0973, allocations: 1.069 MB / 467.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.09736, allocations: 0 / 467.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.09765, allocations: 23.91 kB / 467.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.09773, allocations: 19.98 kB / 467.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.09774, allocations: 0 / 467.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.09781, allocations: 27.91 kB / 467.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.09788, allocations: 3.938 kB / 467.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.09799, allocations: 15.92 kB / 467.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.09814, allocations: 31.91 kB / 467.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.09817, allocations: 0 / 467.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.09818, allocations: 0 / 467.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.09833, allocations: 75.84 kB / 468 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.09841, allocations: 49.39 kB / 468 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.09848, allocations: 43.78 kB / 468.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09849, allocations: 4 kB / 468.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0985, allocations: 0 / 468.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.09851, allocations: 0 / 468.1 MB, free: 11.46 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005077/0.09902, allocations: 399.2 kB / 468.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.09907, allocations: 12.02 kB / 468.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.09915, allocations: 106 kB / 468.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.09923, allocations: 92.03 kB / 468.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.09956, allocations: 284.2 kB / 468.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.09963, allocations: 158.8 kB / 469.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.09976, allocations: 150.9 kB / 469.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.09985, allocations: 109.1 kB / 469.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.09989, allocations: 75.28 kB / 469.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.09995, allocations: 154.6 kB / 469.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-05/0.1, allocations: 150.6 kB / 469.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.1001, allocations: 150.6 kB / 469.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1005, allocations: 497.8 kB / 470.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1007, allocations: 169.1 kB / 470.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.1007, allocations: 80.14 kB / 470.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1007, allocations: 75.28 kB / 470.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.1008, allocations: 117.8 kB / 470.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.1008, allocations: 0 / 470.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.607e-05/0.1009, allocations: 41.45 kB / 470.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.101, allocations: 126.7 kB / 471 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1013, allocations: 235.8 kB / 471.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1013, allocations: 25.7 kB / 471.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1014, allocations: 116.1 kB / 471.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.1014, allocations: 0 / 471.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1014, allocations: 9.719 kB / 471.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1016, allocations: 330.8 kB / 471.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-06/0.1016, allocations: 0 / 471.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.1016, allocations: 3.984 kB / 471.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.1016, allocations: 75.28 kB / 471.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.1016, allocations: 75.28 kB / 471.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.687e-05/0.1017, allocations: 45.48 kB / 471.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.1018, allocations: 83.33 kB / 471.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.1018, allocations: 79.28 kB / 472 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.484e-05/0.1019, allocations: 154.6 kB / 472.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.547e-05/0.1019, allocations: 83.22 kB / 472.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.118e-05/0.102, allocations: 150.6 kB / 472.4 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.1021, allocations: 83.2 kB / 472.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1021, allocations: 79.28 kB / 472.6 MB, free: 6.73 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 (0): * Single equations (assignments): 0 * 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 0.0001567/0.1023, allocations: 288.4 kB / 472.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.1023, allocations: 120.7 kB / 473 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.1024, allocations: 121.5 kB / 473.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.445e-05/0.1025, allocations: 184.3 kB / 473.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.451e-05/0.1026, allocations: 184.2 kB / 473.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/0.1026, allocations: 180.3 kB / 473.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1029, allocations: 433.2 kB / 474 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/0.1029, allocations: 108.9 kB / 474.1 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.103, allocations: 108.9 kB / 474.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.95e-05/0.1031, allocations: 184.1 kB / 474.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.1032, allocations: 180.2 kB / 474.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.098e-05/0.1032, allocations: 192.3 kB / 474.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-05/0.1033, allocations: 180.2 kB / 475 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1035, allocations: 311.7 kB / 475.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1036, allocations: 197.8 kB / 475.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.1037, allocations: 184.3 kB / 475.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1038, allocations: 108.9 kB / 475.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.1039, allocations: 176.3 kB / 475.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.104, allocations: 104.9 kB / 476 MB, free: 3.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1041, allocations: 176.2 kB / 476.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1041, allocations: 0 / 476.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1044, allocations: 4 kB / 476.2 MB, free: 2.863 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 (0): * Single equations (assignments): 0 * 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.0004354/0.1048, allocations: 0.8209 MB / 477 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.714e-05/0.1049, allocations: 4.438 kB / 477 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1049, allocations: 4 kB / 477 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1049, allocations: 0 / 477 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1053, allocations: 0.5263 MB / 477.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1071, allocations: 2.051 MB / 479.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1075, allocations: 0.716 MB / 480.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.413e-05/0.1075, allocations: 0 / 480.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.1075, allocations: 27.42 kB / 480.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1075, allocations: 0 / 480.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.1259, allocations: 1.676 MB / 482 MB, free: 13.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.1261, allocations: 192.8 kB / 482.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.707, allocations: 7.938 kB / 482.2 MB, free: 12.76 MB / 318.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)