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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 252.6 MB, free: 8.344 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 215.9 kB / 309.2 MB, free: 3.211 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04282/0.04282, allocations: 8.92 MB / 374.6 MB, free: 1.961 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 87.86 kB / 0.4892 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2958, allocations: 55.59 MB / 0.5435 GB, free: 27.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001892/0.2976, allocations: 1.202 MB / 0.5447 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.192e-05/0.2977, allocations: 11.92 kB / 0.5447 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2977, allocations: 0 / 0.5447 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.2977, allocations: 3.25 kB / 0.5447 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.2978, allocations: 0 / 0.5447 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.794e-05/0.2978, allocations: 11.2 kB / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.2979, allocations: 3.25 kB / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.2979, allocations: 7.188 kB / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.2979, allocations: 6.859 kB / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.298, allocations: 3.938 kB / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.298, allocations: 0 / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-06/0.298, allocations: 0 / 0.5447 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.298, allocations: 7.281 kB / 0.5447 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.298, allocations: 0 / 0.5447 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.917e-05/0.2981, allocations: 13.25 kB / 0.5447 GB, free: 26.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2981, allocations: 0 / 0.5447 GB, free: 26.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2981, allocations: 3.938 kB / 0.5447 GB, free: 26.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2981, allocations: 0 / 0.5447 GB, free: 26.12 MB / 382.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.0002906/0.2984, allocations: 247.5 kB / 0.545 GB, free: 25.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2984, allocations: 9.312 kB / 0.545 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.2985, allocations: 38.17 kB / 0.545 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.714e-05/0.2985, allocations: 0.9375 kB / 0.545 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.789e-05/0.2985, allocations: 109.6 kB / 0.5451 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2985, allocations: 384 / 0.5451 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.2986, allocations: 3.531 kB / 0.5451 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.2986, allocations: 46.42 kB / 0.5452 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2986, allocations: 3.938 kB / 0.5452 GB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.2987, allocations: 0 / 0.5452 GB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2987, allocations: 0 / 0.5452 GB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.2987, allocations: 11.28 kB / 0.5452 GB, free: 25.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2991, allocations: 160.7 kB / 0.5453 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.2991, allocations: 39.45 kB / 0.5454 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.2991, allocations: 20.47 kB / 0.5454 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2991, allocations: 0 / 0.5454 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.2991, allocations: 37.78 kB / 0.5454 GB, free: 25.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2991, allocations: 0 / 0.5454 GB, free: 25.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.2993, allocations: 47.39 kB / 0.5455 GB, free: 25.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2993, allocations: 80.53 kB / 0.5456 GB, free: 25.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.243e-05/0.2993, allocations: 93.08 kB / 0.5456 GB, free: 25.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.2993, allocations: 29.64 kB / 0.5457 GB, free: 25.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.084e-05/0.2993, allocations: 80.14 kB / 0.5457 GB, free: 24.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.2994, allocations: 11.52 kB / 0.5458 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.2994, allocations: 17 kB / 0.5458 GB, free: 24.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.2994, allocations: 314.3 kB / 0.5461 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.2994, allocations: 0 / 0.5461 GB, free: 24.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.2994, allocations: 17.03 kB / 0.5461 GB, free: 24.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.2995, allocations: 20.03 kB / 0.5461 GB, free: 24.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2995, allocations: 12 kB / 0.5461 GB, free: 24.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.185e-05/0.2995, allocations: 50.58 kB / 0.5462 GB, free: 24.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2995, allocations: 10.34 kB / 0.5462 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2995, allocations: 0 / 0.5462 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2995, allocations: 0 / 0.5462 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2997, allocations: 25.62 kB / 0.5462 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/0.3007, allocations: 2.514 MB / 0.5487 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.3007, allocations: 7.406 kB / 0.5487 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3007, allocations: 3.328 kB / 0.5487 GB, free: 21.93 MB / 382.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 4.818e-05/0.3007, allocations: 109.8 kB / 0.5488 GB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.3008, allocations: 7.062 kB / 0.5488 GB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-06/0.3008, allocations: 7.156 kB / 0.5488 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3008, allocations: 0 / 0.5488 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.3008, allocations: 3 kB / 0.5488 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3008, allocations: 0 / 0.5488 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.301, allocations: 160.2 kB / 0.5489 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.301, allocations: 0 / 0.5489 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3012, allocations: 25.7 kB / 0.549 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3012, allocations: 3.938 kB / 0.549 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3012, allocations: 4 kB / 0.549 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000886/0.3021, allocations: 2.517 MB / 0.5514 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3021, allocations: 7.312 kB / 0.5514 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.101e-05/0.3021, allocations: 70.44 kB / 0.5515 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.3022, allocations: 7.875 kB / 0.5515 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-06/0.3022, allocations: 3.312 kB / 0.5515 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3022, allocations: 0 / 0.5515 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3022, allocations: 7.359 kB / 0.5515 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3022, allocations: 3.219 kB / 0.5515 GB, free: 18.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.655e-05/0.3022, allocations: 79.22 kB / 0.5516 GB, free: 18.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3022, allocations: 0 / 0.5516 GB, free: 18.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.3024, allocations: 7.25 kB / 0.5516 GB, free: 18.84 MB / 382.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.0001977/0.3026, allocations: 0.603 MB / 0.5522 GB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.3031, allocations: 41.61 kB / 0.5522 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3031, allocations: 0 / 0.5522 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.3034, allocations: 41.42 kB / 0.5523 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3036, allocations: 0 / 0.5523 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.304, allocations: 139.7 kB / 0.5524 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3041, allocations: 0.6863 MB / 0.5531 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.224e-05/0.3041, allocations: 25.78 kB / 0.5531 GB, free: 17.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.3042, allocations: 27.72 kB / 0.5531 GB, free: 17.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3042, allocations: 3.938 kB / 0.5531 GB, free: 17.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3316, allocations: 1.902 MB / 0.555 GB, free: 16.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.31, allocations: 5.625 kB / 0.555 GB, free: 16.89 MB / 382.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.992416752036661] Failed to read output from testmodel.py, exit status != 0: 11.4408598090522 11.462120225 11.160090144 Calling exit ...