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/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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007897/0.0007898, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.335/1.335, allocations: 223.2 MB / 239 MB, free: 5.449 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.001049/0.001049, allocations: 184.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0328/0.0328, allocations: 8.779 MB / 350.2 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 11.62 kB / 413.3 MB, free: 42.88 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.07984, allocations: 52.56 MB / 465.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001157/0.08103, allocations: 0.9043 MB / 466.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.3e-05/0.08108, allocations: 3.938 kB / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.08111, allocations: 4 kB / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.08114, allocations: 0 / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.0812, allocations: 7.922 kB / 466.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.54e-05/0.08125, allocations: 8 kB / 466.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.0813, allocations: 11.92 kB / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.08136, allocations: 0 / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.08139, allocations: 4 kB / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.08144, allocations: 3.938 kB / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.08146, allocations: 0 / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.08148, allocations: 0 / 466.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.08149, allocations: 4 kB / 466.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.08153, allocations: 29.7 kB / 466.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.726e-05/0.08157, allocations: 3.984 kB / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.08159, allocations: 0 / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.08159, allocations: 0 / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.0816, allocations: 0 / 466.8 MB, free: 12.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004107/0.08202, allocations: 323.6 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.08208, allocations: 8.031 kB / 467.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.08213, allocations: 30.56 kB / 467.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.08217, allocations: 15.88 kB / 467.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.08234, allocations: 167.1 kB / 467.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.08236, allocations: 0 / 467.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.08237, allocations: 0 / 467.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.0825, allocations: 47.36 kB / 467.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.08251, allocations: 0 / 467.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.08253, allocations: 0 / 467.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.08254, allocations: 3.953 kB / 467.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.08258, allocations: 11.98 kB / 467.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.08307, allocations: 186.5 kB / 467.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.08315, allocations: 37.12 kB / 467.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.0832, allocations: 21.84 kB / 467.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.08321, allocations: 0 / 467.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.08324, allocations: 30.56 kB / 467.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.08325, allocations: 0 / 467.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.08343, allocations: 49.62 kB / 467.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.0835, allocations: 81.3 kB / 467.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.08359, allocations: 101.8 kB / 467.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.08361, allocations: 25.7 kB / 467.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.08365, allocations: 88.08 kB / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.08368, allocations: 3.906 kB / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.08369, allocations: 0 / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.08383, allocations: 318.8 kB / 468.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.08385, allocations: 0 / 468.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.08388, allocations: 21.84 kB / 468.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.0839, allocations: 0 / 468.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.08391, allocations: 4 kB / 468.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.63e-05/0.08399, allocations: 37.64 kB / 468.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.08402, allocations: 10.17 kB / 468.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.08403, allocations: 0 / 468.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.08405, allocations: 4 kB / 468.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.08424, allocations: 32.11 kB / 468.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.08599, allocations: 2.542 MB / 471 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.08603, allocations: 0 / 471 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.08605, allocations: 4.25 kB / 471 MB, free: 7.711 MB / 302.1 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 6.792e-05/0.08612, allocations: 114.4 kB / 471.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.08614, allocations: 4 kB / 471.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.08616, allocations: 15.06 kB / 471.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.08616, allocations: 0 / 471.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.08617, allocations: 3.953 kB / 471.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.08618, allocations: 0 / 471.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.08648, allocations: 189.6 kB / 471.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0865, allocations: 3.938 kB / 471.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.08664, allocations: 23.98 kB / 471.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.08665, allocations: 0 / 471.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.08666, allocations: 4 kB / 471.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.08795, allocations: 2.541 MB / 473.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.08797, allocations: 0 / 473.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.08806, allocations: 78.08 kB / 474 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.08811, allocations: 81.14 kB / 474 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-06/0.08812, allocations: 3.984 kB / 474 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.08814, allocations: 0 / 474 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.08817, allocations: 7.953 kB / 474 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.08818, allocations: 0 / 474 MB, free: 4.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.08822, allocations: 79.28 kB / 474.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08822, allocations: 3.938 kB / 474.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.08844, allocations: 4 kB / 474.1 MB, free: 4.207 MB / 302.1 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.000358/0.08881, allocations: 0.6017 MB / 474.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.08927, allocations: 40 kB / 474.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.08929, allocations: 0 / 474.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.0896, allocations: 43.91 kB / 474.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.08976, allocations: 6.734 kB / 474.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.09012, allocations: 139.2 kB / 475 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.09034, allocations: 0.677 MB / 475.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.09046, allocations: 20 kB / 475.7 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.09054, allocations: 31.39 kB / 475.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.09054, allocations: 0 / 475.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.1006, allocations: 1.539 MB / 477.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.1008, allocations: 184.2 kB / 477.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.674, allocations: 3.938 kB / 477.4 MB, free: 0.8672 MB / 302.1 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) Environment - environmentSimulation: