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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 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.411/1.411, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001286/0.001286, allocations: 192.5 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03445/0.03445, allocations: 8.793 MB / 348.5 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 79.78 kB / 411.2 MB, free: 42.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.07914, allocations: 51.57 MB / 462.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002212/0.08139, allocations: 1.169 MB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.97e-05/0.08145, allocations: 7.938 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.08148, allocations: 4 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.08152, allocations: 3.938 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.08156, allocations: 3.984 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.08162, allocations: 4 kB / 464 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.08168, allocations: 7.938 kB / 464 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.08173, allocations: 0 / 464 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.08176, allocations: 11.92 kB / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.0818, allocations: 3.984 kB / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.08181, allocations: 0 / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-06/0.08182, allocations: 0 / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.08186, allocations: 8 kB / 464 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.08188, allocations: 7.938 kB / 464 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.972e-05/0.08193, allocations: 4 kB / 464 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08194, allocations: 0 / 464 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08194, allocations: 0 / 464 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.08195, allocations: 0 / 464 MB, free: 13.05 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.0003463/0.0823, allocations: 325.1 kB / 464.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.08234, allocations: 8.031 kB / 464.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.08238, allocations: 30.75 kB / 464.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.08241, allocations: 8.938 kB / 464.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.08252, allocations: 168.7 kB / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.08254, allocations: 384 / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-06/0.08255, allocations: 384 / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.08264, allocations: 39.98 kB / 464.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.08266, allocations: 3.938 kB / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.08267, allocations: 0 / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.08268, allocations: 4 kB / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.08271, allocations: 11.94 kB / 464.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.08315, allocations: 194.5 kB / 464.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.08321, allocations: 45.11 kB / 464.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.08324, allocations: 17.84 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.08326, allocations: 0 / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.08329, allocations: 42.5 kB / 464.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.08329, allocations: 0 / 464.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001201/0.08342, allocations: 45.58 kB / 464.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.08348, allocations: 81.34 kB / 465 MB, free: 11.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.08354, allocations: 97.86 kB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.08356, allocations: 25.7 kB / 465.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.0836, allocations: 80.14 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.08363, allocations: 7.906 kB / 465.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.08366, allocations: 13.72 kB / 465.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.08376, allocations: 314.8 kB / 465.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.08378, allocations: 4 kB / 465.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.0838, allocations: 17.78 kB / 465.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.08384, allocations: 25.66 kB / 465.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.08385, allocations: 0 / 465.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.876e-05/0.08392, allocations: 41.64 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.08394, allocations: 11.94 kB / 465.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.08395, allocations: 3.984 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.08397, allocations: 4.125 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.08416, allocations: 23.98 kB / 465.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.0857, allocations: 2.711 MB / 468.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.08574, allocations: 0 / 468.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.08576, allocations: 8.031 kB / 468.4 MB, free: 8.121 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 8.27e-05/0.08584, allocations: 126.4 kB / 468.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.08586, allocations: 7.938 kB / 468.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.115e-05/0.08588, allocations: 7.078 kB / 468.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.08588, allocations: 0 / 468.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.08589, allocations: 4 kB / 468.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.0859, allocations: 0 / 468.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.08623, allocations: 193.6 kB / 468.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.08624, allocations: 0 / 468.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.08642, allocations: 23.98 kB / 468.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.08643, allocations: 3.938 kB / 468.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.08644, allocations: 3.984 kB / 468.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.0879, allocations: 2.715 MB / 471.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.08791, allocations: 12.12 kB / 471.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.08799, allocations: 65.98 kB / 471.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.08802, allocations: 84.98 kB / 471.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-06/0.08803, allocations: 4 kB / 471.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.08806, allocations: 0 / 471.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.08808, allocations: 8.016 kB / 471.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.08809, allocations: 4 kB / 471.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.08812, allocations: 79.28 kB / 471.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08813, allocations: 0 / 471.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.08833, allocations: 4 kB / 471.7 MB, free: 4.414 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.0003009/0.08864, allocations: 0.6132 MB / 472.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.08911, allocations: 35.91 kB / 472.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.08912, allocations: 0 / 472.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.08947, allocations: 36.14 kB / 472.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.08962, allocations: 3.984 kB / 472.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.08999, allocations: 144 kB / 472.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.0902, allocations: 0.6885 MB / 473.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.09032, allocations: 12 kB / 473.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.09039, allocations: 27.39 kB / 473.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.0904, allocations: 0 / 473.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1092, allocations: 1.717 MB / 475 MB, free: 1.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.565, allocations: 3.125 kB / 475 MB, free: 1.082 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)