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.001033/0.001033, 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.298/1.298, allocations: 222.9 MB / 238.9 MB, free: 4.734 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.001437/0.001437, allocations: 184.5 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03417/0.03417, allocations: 8.791 MB / 348.1 MB, free: 4.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.11 kB / 410.5 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.09054, allocations: 51.57 MB / 462.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002066/0.09264, allocations: 1.247 MB / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.601e-05/0.09269, allocations: 0 / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.09272, allocations: 0 / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.09274, allocations: 3.938 kB / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.09279, allocations: 0 / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.765e-05/0.09284, allocations: 3.984 kB / 463.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.76e-05/0.09289, allocations: 15.92 kB / 463.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.09294, allocations: 0 / 463.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.09297, allocations: 8 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.09301, allocations: 7.938 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.09303, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.09304, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.09306, allocations: 3.984 kB / 463.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.09308, allocations: 4 kB / 463.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.983e-05/0.09313, allocations: 7.938 kB / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09314, allocations: 0 / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.09314, allocations: 0 / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.09315, allocations: 0 / 463.4 MB, free: 13.43 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.0003252/0.09348, allocations: 327.5 kB / 463.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.09353, allocations: 8.031 kB / 463.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.09356, allocations: 30.75 kB / 463.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.613e-05/0.09358, allocations: 0.9375 kB / 463.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.09369, allocations: 164.7 kB / 463.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.0937, allocations: 384 / 463.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.09371, allocations: 384 / 463.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.0938, allocations: 51.91 kB / 463.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.09382, allocations: 7.938 kB / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.09383, allocations: 0 / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.09383, allocations: 0 / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.09385, allocations: 4 kB / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.09427, allocations: 190.5 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.09433, allocations: 41.12 kB / 464.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.09436, allocations: 21.83 kB / 464.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.09437, allocations: 0 / 464.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.0944, allocations: 34.56 kB / 464.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.0944, allocations: 7.875 kB / 464.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.09454, allocations: 49.64 kB / 464.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.09458, allocations: 81.05 kB / 464.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.09465, allocations: 97.84 kB / 464.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.09466, allocations: 29.64 kB / 464.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.09469, allocations: 80.14 kB / 464.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.09472, allocations: 7.906 kB / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.09475, allocations: 14.09 kB / 464.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.09484, allocations: 314.8 kB / 464.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.09485, allocations: 0 / 464.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.09489, allocations: 21.7 kB / 464.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.09492, allocations: 17.72 kB / 464.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09493, allocations: 0 / 464.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.835e-05/0.09499, allocations: 45.73 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.09501, allocations: 7.938 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.09502, allocations: 0 / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.09504, allocations: 4 kB / 465 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.09522, allocations: 27.97 kB / 465 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.09668, allocations: 2.549 MB / 467.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.09671, allocations: 4.031 kB / 467.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.09672, allocations: 3.938 kB / 467.6 MB, free: 8.684 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 6.195e-05/0.09679, allocations: 114.4 kB / 467.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.0968, allocations: 4 kB / 467.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.09682, allocations: 7.078 kB / 467.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.09683, allocations: 8.078 kB / 467.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.09683, allocations: 0 / 467.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.09684, allocations: 4 kB / 467.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.09715, allocations: 185.6 kB / 467.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.09716, allocations: 0 / 467.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.09732, allocations: 27.98 kB / 467.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09733, allocations: 0 / 467.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.09735, allocations: 4 kB / 467.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.09867, allocations: 2.537 MB / 470.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.09868, allocations: 256 / 470.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.772e-05/0.09877, allocations: 74.02 kB / 470.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.09881, allocations: 85.05 kB / 470.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-06/0.09882, allocations: 0 / 470.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.09884, allocations: 4 kB / 470.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.09886, allocations: 7.922 kB / 470.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.09887, allocations: 4.031 kB / 470.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.09891, allocations: 83.22 kB / 470.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09891, allocations: 0 / 470.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.09912, allocations: 7.938 kB / 470.7 MB, free: 5.18 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.000322/0.09944, allocations: 0.6017 MB / 471.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.09993, allocations: 39.91 kB / 471.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09994, allocations: 0 / 471.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.1003, allocations: 36.12 kB / 471.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1005, allocations: 4 kB / 471.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.1009, allocations: 133.8 kB / 471.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1011, allocations: 0.6888 MB / 472.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1012, allocations: 12 kB / 472.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.1013, allocations: 35.39 kB / 472.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1013, allocations: 0 / 472.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.1125, allocations: 1.619 MB / 473.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.1128, allocations: 193.3 kB / 474.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.694, allocations: 0 / 474.1 MB, free: 1.727 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)