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.001364/0.001364, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001765/0.001765, allocations: 184.5 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03453/0.03453, allocations: 8.791 MB / 348.5 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 78.44 kB / 411.2 MB, free: 42.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.08491, allocations: 51.56 MB / 462.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0019/0.08685, allocations: 0.5283 MB / 463.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.08842, allocations: 1.116 MB / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.0885, allocations: 0 / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.0887, allocations: 11.92 kB / 464.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.08885, allocations: 19.92 kB / 464.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.42e-05/0.08894, allocations: 15.92 kB / 464.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.08902, allocations: 35.84 kB / 464.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.08909, allocations: 7.984 kB / 464.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.08921, allocations: 19.92 kB / 464.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.08936, allocations: 43.83 kB / 464.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.0894, allocations: 0 / 464.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.08942, allocations: 4 kB / 464.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.08952, allocations: 35.89 kB / 464.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.08958, allocations: 31.73 kB / 464.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.08966, allocations: 51.77 kB / 464.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.08968, allocations: 0 / 464.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.08968, allocations: 0 / 464.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.0897, allocations: 4 kB / 464.7 MB, free: 12.36 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.0005622/0.09027, allocations: 403.2 kB / 465.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.09031, allocations: 8.031 kB / 465.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.09035, allocations: 34.75 kB / 465.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.09039, allocations: 12.75 kB / 465.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.09071, allocations: 224.1 kB / 465.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09073, allocations: 384 / 465.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.09074, allocations: 4.312 kB / 465.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.09084, allocations: 49.8 kB / 465.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.09085, allocations: 0 / 465.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.09086, allocations: 0 / 465.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.09087, allocations: 0 / 465.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.768e-05/0.09091, allocations: 15.98 kB / 465.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.09113, allocations: 197.6 kB / 465.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.09121, allocations: 30.56 kB / 465.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.09124, allocations: 16.8 kB / 465.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.09128, allocations: 0 / 465.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.09132, allocations: 34.5 kB / 465.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.09133, allocations: 0 / 465.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003074/0.09164, allocations: 69.58 kB / 465.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.09168, allocations: 55.41 kB / 465.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.09194, allocations: 222.2 kB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.09196, allocations: 25.7 kB / 466 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.09202, allocations: 104.1 kB / 466.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.09205, allocations: 7.906 kB / 466.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.09211, allocations: 13.72 kB / 466.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.09223, allocations: 322.8 kB / 466.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.09225, allocations: 11.94 kB / 466.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.09228, allocations: 11.98 kB / 466.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.09233, allocations: 24.84 kB / 466.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.09234, allocations: 0 / 466.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.283e-05/0.09243, allocations: 57.53 kB / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.09246, allocations: 4 kB / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.09247, allocations: 4 kB / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.09249, allocations: 0 / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.09258, allocations: 4 kB / 466.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.0926, allocations: 7.922 kB / 466.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.09267, allocations: 11.89 kB / 466.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.09269, allocations: 4 kB / 466.6 MB, free: 10.18 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 8.178e-05/0.09277, allocations: 125.8 kB / 466.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.0928, allocations: 11.84 kB / 466.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.09295, allocations: 70.92 kB / 466.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.09296, allocations: 0 / 466.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.09297, allocations: 4 kB / 466.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.09298, allocations: 0 / 466.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.09313, allocations: 181.6 kB / 467 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09315, allocations: 4 kB / 467 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.0932, allocations: 11.92 kB / 467 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.09321, allocations: 4 kB / 467 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.09322, allocations: 0 / 467 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.09323, allocations: 3.938 kB / 467 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.09324, allocations: 0 / 467 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.09335, allocations: 77.03 kB / 467.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.09342, allocations: 100.8 kB / 467.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.09345, allocations: 4 kB / 467.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.0935, allocations: 7.984 kB / 467.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.09353, allocations: 0 / 467.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.09354, allocations: 3.938 kB / 467.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.09368, allocations: 164.3 kB / 467.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09368, allocations: 0 / 467.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.09387, allocations: 8 kB / 467.4 MB, free: 9.309 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.0003336/0.09421, allocations: 0.6239 MB / 468 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.09431, allocations: 19.98 kB / 468 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.09432, allocations: 0 / 468 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.09435, allocations: 15.94 kB / 468 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.09451, allocations: 10.03 kB / 468.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.09594, allocations: 1.578 MB / 469.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.0962, allocations: 0.7041 MB / 470.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.09626, allocations: 20.3 kB / 470.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.09632, allocations: 31.42 kB / 470.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09632, allocations: 0 / 470.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.115, allocations: 1.978 MB / 472.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.483, allocations: 4 kB / 472.4 MB, free: 4.25 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)