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-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.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.001266/0.001266, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.298/1.298, allocations: 222.9 MB / 239 MB, free: 4.711 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.001242/0.001242, allocations: 200.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03407/0.03407, allocations: 8.784 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.97 kB / 410.7 MB, free: 42.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07552/0.07699, allocations: 51.57 MB / 462.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001566/0.07859, allocations: 0.5754 MB / 462.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.0797, allocations: 1.12 MB / 464 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.07974, allocations: 0 / 464 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.07989, allocations: 7.984 kB / 464 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.07999, allocations: 23.91 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.628e-05/0.08005, allocations: 8 kB / 464 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.073e-05/0.08013, allocations: 39.78 kB / 464 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.08018, allocations: 0 / 464 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.08027, allocations: 27.91 kB / 464.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.08039, allocations: 39.83 kB / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.08042, allocations: 4 kB / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.08043, allocations: 0 / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.08051, allocations: 43.88 kB / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.08056, allocations: 31.75 kB / 464.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.306e-05/0.08062, allocations: 47.75 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.08063, allocations: 0 / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08064, allocations: 0 / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.08065, allocations: 0 / 464.2 MB, free: 12.64 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.0004693/0.08112, allocations: 408.8 kB / 464.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.08116, allocations: 12.03 kB / 464.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.0812, allocations: 34.75 kB / 464.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.08123, allocations: 12.75 kB / 464.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.08141, allocations: 212.6 kB / 464.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.08143, allocations: 4.375 kB / 464.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.08144, allocations: 4.375 kB / 464.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.08151, allocations: 37.81 kB / 464.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.08153, allocations: 0 / 464.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.08154, allocations: 4 kB / 464.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.08155, allocations: 7.984 kB / 464.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.08159, allocations: 11.98 kB / 465 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.08176, allocations: 193.6 kB / 465.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.08183, allocations: 34.5 kB / 465.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.08186, allocations: 12.94 kB / 465.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.08189, allocations: 0 / 465.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.08191, allocations: 42.5 kB / 465.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.08192, allocations: 4 kB / 465.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000155/0.08208, allocations: 61.5 kB / 465.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.08212, allocations: 55.34 kB / 465.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.08231, allocations: 218.3 kB / 465.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.08233, allocations: 25.7 kB / 465.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.08238, allocations: 112.1 kB / 465.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.08241, allocations: 11.89 kB / 465.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.08244, allocations: 13.72 kB / 465.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.08254, allocations: 326.8 kB / 466 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.08256, allocations: 8 kB / 466.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.08258, allocations: 7.984 kB / 466.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.08263, allocations: 16.86 kB / 466.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.08263, allocations: 4 kB / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.916e-05/0.08272, allocations: 61.47 kB / 466.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.08274, allocations: 7.984 kB / 466.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.08275, allocations: 0 / 466.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.08276, allocations: 0 / 466.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.08283, allocations: 7.938 kB / 466.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.08285, allocations: 11.98 kB / 466.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.0829, allocations: 11.89 kB / 466.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.08292, allocations: 4 kB / 466.2 MB, free: 10.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.08299, allocations: 121.8 kB / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.08301, allocations: 11.84 kB / 466.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.08314, allocations: 62.61 kB / 466.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.08315, allocations: 384 / 466.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.08316, allocations: 4 kB / 466.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.08316, allocations: 4 kB / 466.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.08328, allocations: 181.6 kB / 466.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.08329, allocations: 0 / 466.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.08333, allocations: 11.88 kB / 466.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.08334, allocations: 3.984 kB / 466.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.08336, allocations: 7.984 kB / 466.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08336, allocations: 0 / 466.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.08337, allocations: 4 kB / 466.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.976e-05/0.08346, allocations: 81.03 kB / 466.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.08352, allocations: 100.8 kB / 466.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.08355, allocations: 0 / 466.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.0836, allocations: 0 / 466.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.08362, allocations: 7.938 kB / 466.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.08363, allocations: 0 / 466.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.08376, allocations: 168.2 kB / 466.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08376, allocations: 0 / 466.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.08395, allocations: 8 kB / 466.9 MB, free: 9.578 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 (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.0003076/0.08426, allocations: 0.624 MB / 467.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.022e-05/0.08435, allocations: 19.98 kB / 467.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.08436, allocations: 0 / 467.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.08438, allocations: 11.94 kB / 467.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.08454, allocations: 4 kB / 467.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.08585, allocations: 1.6 MB / 469.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.08612, allocations: 0.7002 MB / 469.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.08618, allocations: 23.91 kB / 469.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.08623, allocations: 23.44 kB / 470 MB, free: 6.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.08624, allocations: 0 / 470 MB, free: 6.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.09959, allocations: 1.904 MB / 471.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.09985, allocations: 197.5 kB / 472 MB, free: 4.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.762, allocations: 3.938 kB / 472.1 MB, free: 4.379 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/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)