Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008464/0.008464, allocations: 172.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05998/0.05998, allocations: 8.797 MB / 24.65 MB, free: 4.105 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.2 MB / 250.7 MB, free: 6.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.0008239, allocations: 104.4 kB / 304 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 12 kB / 367.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 52.54 MB / 419.7 MB, free: 48.2 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09351/0.345, allocations: 76.31 MB / 496 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.3454, allocations: 59.97 kB / 496.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009978/0.3464, allocations: 421.9 kB / 496.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3464, allocations: 1.562 kB / 496.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3464, allocations: 0 / 496.5 MB, free: 12.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003742/0.3468, allocations: 315.4 kB / 496.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.3469, allocations: 14.84 kB / 496.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.3469, allocations: 34.5 kB / 496.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.347, allocations: 3.953 kB / 496.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3471, allocations: 159.1 kB / 497 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3471, allocations: 4 kB / 497 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3472, allocations: 5.938 kB / 497 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3473, allocations: 47.41 kB / 497 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3473, allocations: 0 / 497 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3473, allocations: 2.188 kB / 497 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3473, allocations: 3.953 kB / 497 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.3474, allocations: 7.938 kB / 497 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.348, allocations: 192 kB / 497.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.348, allocations: 45.92 kB / 497.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3481, allocations: 1.125 kB / 497.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3481, allocations: 35.25 kB / 497.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.3481, allocations: 0 / 497.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.3483, allocations: 52.09 kB / 497.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3484, allocations: 77.11 kB / 497.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.3484, allocations: 89 kB / 497.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3485, allocations: 26.08 kB / 497.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3485, allocations: 84.14 kB / 497.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3486, allocations: 11.84 kB / 497.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.3486, allocations: 3.938 kB / 497.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3487, allocations: 322.8 kB / 498 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.3487, allocations: 0 / 498 MB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.3488, allocations: 13.72 kB / 498 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.3488, allocations: 8.062 kB / 498 MB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3488, allocations: 0 / 498 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.3489, allocations: 45.62 kB / 498 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.349, allocations: 4 kB / 498 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.349, allocations: 0 / 498 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.349, allocations: 0 / 498 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3493, allocations: 31.98 kB / 498.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.3514, allocations: 2.549 MB / 0.4889 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.3514, allocations: 0 / 0.4889 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3514, allocations: 0 / 0.4889 GB, free: 7.633 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/0.3515, allocations: 114.8 kB / 0.489 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.3516, allocations: 3.906 kB / 0.489 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.3516, allocations: 7.125 kB / 0.489 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3516, allocations: 0 / 0.489 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3516, allocations: 4 kB / 0.489 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3516, allocations: 3.953 kB / 0.489 GB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.3521, allocations: 189.7 kB / 0.4892 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3521, allocations: 0 / 0.4892 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.3523, allocations: 31.97 kB / 0.4892 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3523, allocations: 0 / 0.4892 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3524, allocations: 0 / 0.4892 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.3544, allocations: 2.541 MB / 0.4917 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3544, allocations: 3.953 kB / 0.4917 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3545, allocations: 87.86 kB / 0.4918 GB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3546, allocations: 85.02 kB / 0.4919 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.3546, allocations: 0 / 0.4919 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.3547, allocations: 3.953 kB / 0.4919 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3547, allocations: 7.984 kB / 0.4919 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3547, allocations: 3.938 kB / 0.4919 GB, free: 4.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.3547, allocations: 75.28 kB / 0.492 GB, free: 4.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3547, allocations: 0 / 0.492 GB, free: 4.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.3551, allocations: 4 kB / 0.492 GB, free: 4.113 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/0.3555, allocations: 0.6916 MB / 0.4926 GB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.3562, allocations: 43.98 kB / 0.4927 GB, free: 3.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3562, allocations: 0 / 0.4927 GB, free: 3.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.3567, allocations: 44.53 kB / 0.4927 GB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.3569, allocations: 6.188 kB / 0.4927 GB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3574, allocations: 137 kB / 0.4929 GB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3577, allocations: 0.6848 MB / 0.4935 GB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.3579, allocations: 20 kB / 0.4936 GB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.358, allocations: 27.41 kB / 0.4936 GB, free: 2.363 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.358, allocations: 0 / 0.4936 GB, free: 2.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.3722, allocations: 1.53 MB / 0.4951 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.3724, allocations: 172.3 kB / 0.4952 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.8, allocations: 4 kB / 0.4952 GB, free: 0.7148 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)