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-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.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.001119/0.001119, 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.326/1.326, allocations: 222.9 MB / 239 MB, free: 4.723 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.001255/0.001256, allocations: 188.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03616/0.03616, allocations: 8.796 MB / 348.2 MB, free: 4.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.00147, allocations: 81.89 kB / 410.7 MB, free: 42.24 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07416/0.07565, allocations: 51.56 MB / 462.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002436/0.07812, allocations: 1.245 MB / 463.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.427e-05/0.07819, allocations: 11.92 kB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.07822, allocations: 0 / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.07825, allocations: 0 / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.07831, allocations: 0 / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.953e-05/0.07837, allocations: 0 / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.07843, allocations: 11.94 kB / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.07848, allocations: 11.97 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.0785, allocations: 0 / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.07857, allocations: 7.938 kB / 463.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.07859, allocations: 4 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-06/0.0786, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.07861, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.07864, allocations: 4 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.604e-05/0.07869, allocations: 3.938 kB / 463.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.0787, allocations: 0 / 463.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.07871, allocations: 3.984 kB / 463.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.07872, allocations: 4 kB / 463.6 MB, free: 13.33 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.0003622/0.07909, allocations: 317.2 kB / 463.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.07914, allocations: 16.03 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.07918, allocations: 34.73 kB / 463.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.07921, allocations: 0.9375 kB / 463.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.07932, allocations: 164.6 kB / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.07934, allocations: 384 / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-06/0.07935, allocations: 4.375 kB / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.07945, allocations: 43.98 kB / 464.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.07947, allocations: 3.938 kB / 464.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.07948, allocations: 7.984 kB / 464.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.07949, allocations: 0 / 464.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.07952, allocations: 7.938 kB / 464.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.07999, allocations: 190.5 kB / 464.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.08006, allocations: 41.25 kB / 464.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.08009, allocations: 13.78 kB / 464.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.08011, allocations: 3.938 kB / 464.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.08014, allocations: 34.56 kB / 464.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.08014, allocations: 3.938 kB / 464.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.0803, allocations: 57.56 kB / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.08035, allocations: 77.11 kB / 464.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.08042, allocations: 97.8 kB / 464.7 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.08044, allocations: 29.7 kB / 464.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.08048, allocations: 80.14 kB / 464.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.0805, allocations: 3.906 kB / 464.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.08054, allocations: 17.7 kB / 464.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.08065, allocations: 319.2 kB / 465.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.08067, allocations: 0 / 465.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.08069, allocations: 13.72 kB / 465.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.08073, allocations: 21.66 kB / 465.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.08073, allocations: 0 / 465.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.009e-05/0.08081, allocations: 45.77 kB / 465.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.08083, allocations: 11.97 kB / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.08084, allocations: 0 / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.08086, allocations: 0 / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.08105, allocations: 31.92 kB / 465.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.08277, allocations: 2.723 MB / 467.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.0828, allocations: 160 / 467.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.08281, allocations: 4 kB / 467.9 MB, free: 8.395 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.0829, allocations: 114.5 kB / 468.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.08291, allocations: 3.938 kB / 468.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.08293, allocations: 11.08 kB / 468.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.08293, allocations: 0 / 468.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.08294, allocations: 4 kB / 468.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.08295, allocations: 0 / 468.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.08328, allocations: 189.6 kB / 468.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.08329, allocations: 3.938 kB / 468.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.08347, allocations: 23.98 kB / 468.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.08349, allocations: 7.938 kB / 468.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.0835, allocations: 0 / 468.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.08515, allocations: 2.723 MB / 471 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.08517, allocations: 0 / 471 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.792e-05/0.08525, allocations: 73.97 kB / 471.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.08529, allocations: 81.05 kB / 471.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.08531, allocations: 3.984 kB / 471.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.08533, allocations: 4.094 kB / 471.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.08536, allocations: 4 kB / 471.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.08537, allocations: 3.938 kB / 471.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.0854, allocations: 75.28 kB / 471.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08541, allocations: 4 kB / 471.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.08562, allocations: 3.938 kB / 471.3 MB, free: 4.699 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.08597, allocations: 0.6132 MB / 471.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.08651, allocations: 35.97 kB / 471.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.08653, allocations: 4.156 kB / 471.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.08692, allocations: 35.91 kB / 472 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.08708, allocations: 9.719 kB / 472 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.08751, allocations: 136.1 kB / 472.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.08779, allocations: 0.6807 MB / 472.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.08793, allocations: 16 kB / 472.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.08801, allocations: 31.39 kB / 472.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08802, allocations: 4 kB / 472.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1082, allocations: 1.653 MB / 474.5 MB, free: 1.473 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.1084, allocations: 197.9 kB / 474.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.792, allocations: 7.875 kB / 474.7 MB, free: 1.203 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/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)