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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 222.9 MB / 238.9 MB, free: 4.73 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.001176/0.001176, allocations: 180.5 kB / 289.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03294/0.03294, allocations: 8.793 MB / 348.1 MB, free: 4.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 81 kB / 410.5 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.09059, allocations: 51.56 MB / 462.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001627/0.09226, allocations: 0.587 MB / 462.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.09341, allocations: 1.112 MB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.09345, allocations: 0 / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.09361, allocations: 7.984 kB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.09375, allocations: 23.92 kB / 463.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.808e-05/0.0938, allocations: 15.92 kB / 463.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.09387, allocations: 35.84 kB / 463.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.09392, allocations: 3.984 kB / 463.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.094, allocations: 15.94 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.09412, allocations: 43.88 kB / 463.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.09415, allocations: 0 / 463.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.09417, allocations: 4 kB / 463.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.09426, allocations: 43.83 kB / 464 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.09431, allocations: 27.73 kB / 464 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.928e-05/0.09437, allocations: 43.77 kB / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09438, allocations: 0 / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.09439, allocations: 4 kB / 464 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.0944, allocations: 0 / 464 MB, free: 12.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.0005024/0.0949, allocations: 407.2 kB / 464.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.09495, allocations: 8.031 kB / 464.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.09499, allocations: 34.75 kB / 464.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.09502, allocations: 12.75 kB / 464.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.09521, allocations: 216.6 kB / 464.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.09522, allocations: 384 / 464.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.09524, allocations: 384 / 464.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.09532, allocations: 45.81 kB / 464.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.09533, allocations: 7.922 kB / 464.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.09534, allocations: 7.984 kB / 464.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09535, allocations: 0 / 464.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.09538, allocations: 8 kB / 464.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.09556, allocations: 197.6 kB / 465 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.09563, allocations: 30.56 kB / 465 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.09567, allocations: 16.86 kB / 465 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.0957, allocations: 8 kB / 465 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.09573, allocations: 34.5 kB / 465.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.09573, allocations: 0 / 465.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001722/0.09591, allocations: 69.52 kB / 465.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.09595, allocations: 55.34 kB / 465.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.09614, allocations: 218.3 kB / 465.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.09616, allocations: 25.7 kB / 465.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.09623, allocations: 112.1 kB / 465.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.09626, allocations: 7.906 kB / 465.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.09629, allocations: 13.72 kB / 465.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.0964, allocations: 326.8 kB / 465.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.09642, allocations: 7.984 kB / 465.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.09644, allocations: 4 kB / 465.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.09649, allocations: 28.78 kB / 465.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0965, allocations: 0 / 465.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.701e-05/0.09659, allocations: 61.53 kB / 466 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.09661, allocations: 8 kB / 466 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.09662, allocations: 4 kB / 466 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.09663, allocations: 0 / 466 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.0967, allocations: 4 kB / 466 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.09672, allocations: 0 / 466 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.09677, allocations: 11.89 kB / 466 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.09678, allocations: 0 / 466 MB, free: 10.6 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 7.256e-05/0.09686, allocations: 121.8 kB / 466.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.09688, allocations: 11.84 kB / 466.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.09702, allocations: 74.55 kB / 466.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.09703, allocations: 384 / 466.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.09704, allocations: 3.984 kB / 466.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.09705, allocations: 0 / 466.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.09717, allocations: 177.7 kB / 466.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.09718, allocations: 7.969 kB / 466.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.09723, allocations: 7.938 kB / 466.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.09724, allocations: 4 kB / 466.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.09725, allocations: 0 / 466.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.09725, allocations: 0 / 466.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.09726, allocations: 0 / 466.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.09735, allocations: 84.97 kB / 466.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.09742, allocations: 100.8 kB / 466.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.09744, allocations: 0 / 466.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.09749, allocations: 7.984 kB / 466.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.09751, allocations: 0 / 466.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.09752, allocations: 0 / 466.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.09766, allocations: 168.3 kB / 466.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09766, allocations: 7.938 kB / 466.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.09785, allocations: 8 kB / 466.8 MB, free: 9.723 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.0003548/0.0982, allocations: 0.6162 MB / 467.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.09829, allocations: 23.92 kB / 467.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0983, allocations: 0 / 467.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.09832, allocations: 12 kB / 467.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.09849, allocations: 10.09 kB / 467.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.09987, allocations: 1.594 MB / 469 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1001, allocations: 0.708 MB / 469.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.1002, allocations: 19.98 kB / 469.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1002, allocations: 27.42 kB / 469.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1002, allocations: 0 / 469.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1112, allocations: 1.867 MB / 471.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.1115, allocations: 197.4 kB / 471.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.709, allocations: 0 / 471.8 MB, free: 4.547 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)