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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.32/1.32, allocations: 222.9 MB / 238.9 MB, free: 4.766 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.001352/0.001352, allocations: 180.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03324/0.03324, allocations: 8.794 MB / 348.1 MB, free: 4.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 77.39 kB / 410.5 MB, free: 42.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08627, allocations: 51.56 MB / 462.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001752/0.08806, allocations: 0.5621 MB / 462.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.08933, allocations: 1.089 MB / 463.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.08937, allocations: 0 / 463.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.08968, allocations: 15.98 kB / 463.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.08976, allocations: 35.83 kB / 463.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.566e-06/0.08977, allocations: 0 / 463.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.08983, allocations: 19.92 kB / 463.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.08989, allocations: 0 / 463.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.09, allocations: 19.92 kB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.09013, allocations: 31.91 kB / 463.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.09016, allocations: 0 / 463.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.09017, allocations: 0 / 463.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.09031, allocations: 71.83 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.09036, allocations: 27.69 kB / 463.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.31e-05/0.09044, allocations: 51.78 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09045, allocations: 0 / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.09045, allocations: 0 / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.09046, allocations: 0 / 464 MB, free: 12.88 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.0005044/0.09097, allocations: 407 kB / 464.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.09101, allocations: 8.031 kB / 464.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.09107, allocations: 110 kB / 464.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.09115, allocations: 92.12 kB / 464.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.09136, allocations: 284.1 kB / 464.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.09144, allocations: 150.9 kB / 465 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.09149, allocations: 154.9 kB / 465.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.09157, allocations: 109.1 kB / 465.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.09161, allocations: 79.28 kB / 465.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.09167, allocations: 154.6 kB / 465.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.09172, allocations: 154.6 kB / 465.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.09179, allocations: 154.5 kB / 465.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.09212, allocations: 477.9 kB / 466.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.09221, allocations: 173.1 kB / 466.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.09225, allocations: 80.14 kB / 466.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.09228, allocations: 75.28 kB / 466.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.09234, allocations: 117.8 kB / 466.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.846e-06/0.09235, allocations: 0 / 466.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.108e-05/0.09243, allocations: 37.55 kB / 466.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.0925, allocations: 130.7 kB / 466.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.09277, allocations: 235.8 kB / 467.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.09279, allocations: 25.7 kB / 467.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.09289, allocations: 116.1 kB / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.09289, allocations: 0 / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.09292, allocations: 13.72 kB / 467.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.09307, allocations: 326.9 kB / 467.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-06/0.09308, allocations: 4 kB / 467.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-06/0.09309, allocations: 0 / 467.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.09312, allocations: 83.22 kB / 467.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/0.09315, allocations: 75.28 kB / 467.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.895e-05/0.09323, allocations: 49.39 kB / 467.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.09327, allocations: 85.77 kB / 467.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.0933, allocations: 79.28 kB / 467.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.428e-05/0.09338, allocations: 158.5 kB / 468.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.29e-05/0.09341, allocations: 75.28 kB / 468.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.854e-05/0.09347, allocations: 154.6 kB / 468.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.09357, allocations: 87.22 kB / 468.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.09361, allocations: 75.28 kB / 468.5 MB, free: 8.133 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.0001439/0.09376, allocations: 284.4 kB / 468.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.09382, allocations: 120.8 kB / 468.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.0939, allocations: 125.5 kB / 469 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.591e-05/0.09397, allocations: 176.3 kB / 469.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.09404, allocations: 188.1 kB / 469.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.85e-05/0.09411, allocations: 180.3 kB / 469.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.09438, allocations: 441.1 kB / 470 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.494e-05/0.09443, allocations: 105 kB / 470.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.09447, allocations: 104.9 kB / 470.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/0.09455, allocations: 192.2 kB / 470.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.09464, allocations: 180.2 kB / 470.5 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.887e-05/0.09471, allocations: 180.2 kB / 470.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.23e-05/0.09478, allocations: 176.3 kB / 470.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.09492, allocations: 323.6 kB / 471.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.09502, allocations: 197.8 kB / 471.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.09511, allocations: 180.2 kB / 471.6 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.09521, allocations: 101 kB / 471.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.09529, allocations: 192.2 kB / 471.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.09535, allocations: 105 kB / 471.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.09551, allocations: 168.2 kB / 472.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09551, allocations: 0 / 472.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.09579, allocations: 4 kB / 472.1 MB, free: 4.27 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.0004109/0.0962, allocations: 0.8186 MB / 472.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.724e-05/0.09625, allocations: 4.5 kB / 472.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.09625, allocations: 0 / 472.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.09626, allocations: 0 / 472.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.09666, allocations: 0.5185 MB / 473.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.09824, allocations: 2.067 MB / 475.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.09856, allocations: 0.7082 MB / 476.2 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.126e-05/0.09861, allocations: 16 kB / 476.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.09865, allocations: 23.44 kB / 476.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09866, allocations: 0 / 476.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.1094, allocations: 1.734 MB / 478 MB, free: 14.32 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.1096, allocations: 197.1 kB / 478.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.694, allocations: 7.938 kB / 478.2 MB, free: 14.07 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)