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.001059/0.001059, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04141/0.04142, allocations: 8.715 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 240.9 MB, free: 13.22 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.0009785/0.0009788, allocations: 101.3 kB / 293.9 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.764e-05, allocations: 0 / 352.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 52.57 MB / 405.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.5005, allocations: 75.57 MB / 480.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5007, allocations: 62.28 kB / 480.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007644/0.5015, allocations: 410.5 kB / 481.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5015, allocations: 0 / 481.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.5016, allocations: 0 / 481.3 MB, free: 11.07 MB / 346.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.0002227/0.5018, allocations: 321.1 kB / 481.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5018, allocations: 15.92 kB / 481.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.5019, allocations: 3.438 kB / 481.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.502, allocations: 167.2 kB / 481.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.502, allocations: 0 / 481.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.502, allocations: 0 / 481.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.718e-05/0.5021, allocations: 0.5 kB / 481.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.913e-05/0.5022, allocations: 44.69 kB / 481.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.5022, allocations: 0.5938 kB / 481.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5022, allocations: 7.953 kB / 481.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5022, allocations: 1.438 kB / 481.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.5026, allocations: 170.2 kB / 482 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.5027, allocations: 40.64 kB / 482.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.5027, allocations: 13.22 kB / 482.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.5027, allocations: 6.938 kB / 482.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.5028, allocations: 30.56 kB / 482.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5028, allocations: 2.156 kB / 482.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000118/0.5029, allocations: 41.62 kB / 482.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.5029, allocations: 84.11 kB / 482.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.503, allocations: 85 kB / 482.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.503, allocations: 29.7 kB / 482.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.503, allocations: 80.14 kB / 482.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.503, allocations: 7.219 kB / 482.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5031, allocations: 0 / 482.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.5031, allocations: 318.6 kB / 482.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.5031, allocations: 8.188 kB / 482.8 MB, free: 9.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.5031, allocations: 9.719 kB / 482.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.507e-05/0.5032, allocations: 11.92 kB / 482.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5032, allocations: 0 / 482.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.536e-05/0.5032, allocations: 40.48 kB / 482.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5033, allocations: 7.828 kB / 482.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5033, allocations: 4 kB / 482.8 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5033, allocations: 4.125 kB / 482.8 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.5035, allocations: 23.98 kB / 482.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.5045, allocations: 2.438 MB / 485.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.5045, allocations: 0 / 485.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.5046, allocations: 3.984 kB / 485.3 MB, free: 6.723 MB / 346.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 () * 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 5.521e-05/0.5046, allocations: 109 kB / 485.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.174e-05/0.5047, allocations: 37.64 kB / 485.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.5047, allocations: 4.469 kB / 485.4 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.5047, allocations: 10.88 kB / 485.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5047, allocations: 4.766 kB / 485.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.5047, allocations: 4.125 kB / 485.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5047, allocations: 7.938 kB / 485.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.505, allocations: 165.9 kB / 485.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.505, allocations: 5.125 kB / 485.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.5052, allocations: 23.98 kB / 485.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5052, allocations: 4 kB / 485.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.5052, allocations: 0 / 485.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008554/0.5061, allocations: 2.432 MB / 488.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5061, allocations: 0 / 488.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.024e-05/0.5061, allocations: 93.73 kB / 488.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.5062, allocations: 81.09 kB / 488.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-06/0.5062, allocations: 0.875 kB / 488.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.5062, allocations: 0 / 488.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.5062, allocations: 4.031 kB / 488.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5062, allocations: 4 kB / 488.3 MB, free: 3.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.5063, allocations: 83.27 kB / 488.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5063, allocations: 4 kB / 488.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.5065, allocations: 0 / 488.4 MB, free: 3.387 MB / 346.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 () * 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.0002135/0.5067, allocations: 0.6794 MB / 489 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.5071, allocations: 40.98 kB / 489.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5072, allocations: 0 / 489.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5075, allocations: 41.5 kB / 489.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.5076, allocations: 8.609 kB / 489.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.5079, allocations: 93.19 kB / 489.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.508, allocations: 0.6846 MB / 489.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.5081, allocations: 20.06 kB / 489.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.5082, allocations: 22.47 kB / 489.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5082, allocations: 0 / 489.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.5286, allocations: 1.249 MB / 491.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.5289, allocations: 122.5 kB / 491.3 MB, free: 340 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.011, allocations: 0 / 491.3 MB, free: 340 kB / 346.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)