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.001354/0.001354, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.478/1.478, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.00152/0.00152, allocations: 216.8 kB / 310 MB, free: 3.098 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.04107/0.04107, allocations: 8.924 MB / 375.4 MB, free: 6.738 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="cs",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.002363/0.002363, allocations: 79.88 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09913, allocations: 55.61 MB / 0.5443 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002334/0.1015, allocations: 1.212 MB / 0.5454 GB, free: 3.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.406e-05/0.1015, allocations: 3.984 kB / 0.5454 GB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1015, allocations: 4 kB / 0.5454 GB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.1016, allocations: 3.938 kB / 0.5455 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1016, allocations: 0 / 0.5455 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.172e-05/0.1016, allocations: 0 / 0.5455 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.1017, allocations: 11.94 kB / 0.5455 GB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1018, allocations: 4 kB / 0.5455 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.1018, allocations: 7.969 kB / 0.5455 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1019, allocations: 11.94 kB / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1019, allocations: 0 / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-06/0.1019, allocations: 0 / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1019, allocations: 0 / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.1019, allocations: 0 / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.126e-05/0.102, allocations: 8.219 kB / 0.5455 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.102, allocations: 0 / 0.5455 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.102, allocations: 0 / 0.5455 GB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.102, allocations: 0 / 0.5455 GB, free: 3.918 MB / 366.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.0003819/0.1024, allocations: 246.4 kB / 0.5457 GB, free: 3.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1024, allocations: 19.98 kB / 0.5457 GB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.446e-05/0.1024, allocations: 192 / 0.5457 GB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1025, allocations: 30.75 kB / 0.5458 GB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.1025, allocations: 0.9375 kB / 0.5458 GB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1026, allocations: 122.4 kB / 0.5459 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1026, allocations: 384 / 0.5459 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.1026, allocations: 384 / 0.5459 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1027, allocations: 51.73 kB / 0.5459 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1027, allocations: 0 / 0.5459 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.1027, allocations: 0 / 0.5459 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1027, allocations: 0 / 0.5459 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.1028, allocations: 7.938 kB / 0.546 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1032, allocations: 165.6 kB / 0.5461 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.1033, allocations: 39.38 kB / 0.5461 GB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.1033, allocations: 13.84 kB / 0.5462 GB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.1033, allocations: 3.938 kB / 0.5462 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1034, allocations: 38.44 kB / 0.5462 GB, free: 3.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.1034, allocations: 8 kB / 0.5462 GB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.1035, allocations: 49.61 kB / 0.5463 GB, free: 2.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1036, allocations: 77.11 kB / 0.5463 GB, free: 2.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.1037, allocations: 97.86 kB / 0.5464 GB, free: 2.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1037, allocations: 25.7 kB / 0.5464 GB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.1037, allocations: 80.14 kB / 0.5465 GB, free: 2.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1038, allocations: 11.89 kB / 0.5465 GB, free: 2.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1038, allocations: 14.09 kB / 0.5465 GB, free: 2.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1039, allocations: 318.8 kB / 0.5469 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.1039, allocations: 7.938 kB / 0.5469 GB, free: 2.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.104, allocations: 9.719 kB / 0.5469 GB, free: 2.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.104, allocations: 25.66 kB / 0.5469 GB, free: 2.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.104, allocations: 0 / 0.5469 GB, free: 2.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.32e-05/0.1041, allocations: 45.75 kB / 0.5469 GB, free: 2.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1041, allocations: 7.938 kB / 0.5469 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1041, allocations: 4 kB / 0.5469 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1041, allocations: 0 / 0.5469 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1043, allocations: 27.92 kB / 0.547 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.1062, allocations: 2.508 MB / 0.5494 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.1062, allocations: 4 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1062, allocations: 4.156 kB / 0.5494 GB, free: 15.43 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 0.0001008/0.1063, allocations: 117.8 kB / 0.5495 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1063, allocations: 3.938 kB / 0.5495 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.1063, allocations: 3.156 kB / 0.5496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1063, allocations: 0 / 0.5496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1063, allocations: 4 kB / 0.5496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1063, allocations: 0 / 0.5496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.1067, allocations: 164.7 kB / 0.5497 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1067, allocations: 0 / 0.5497 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1068, allocations: 31.92 kB / 0.5497 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1068, allocations: 0 / 0.5497 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1069, allocations: 0 / 0.5497 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.1085, allocations: 2.512 MB / 0.5522 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1085, allocations: 4.031 kB / 0.5522 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.1086, allocations: 74.08 kB / 0.5523 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.1086, allocations: 3.938 kB / 0.5523 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-06/0.1086, allocations: 4 kB / 0.5523 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.1086, allocations: 4 kB / 0.5523 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.1087, allocations: 4 kB / 0.5523 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.1087, allocations: 8.031 kB / 0.5523 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.1087, allocations: 79.27 kB / 0.5524 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 3.938 kB / 0.5524 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1089, allocations: 4 kB / 0.5524 GB, free: 12.12 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.0004073/0.1093, allocations: 0.6094 MB / 0.553 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.1098, allocations: 39.92 kB / 0.553 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1098, allocations: 3.938 kB / 0.553 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.1102, allocations: 32.08 kB / 0.553 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.1103, allocations: 4 kB / 0.553 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.1109, allocations: 148.1 kB / 0.5532 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1112, allocations: 0.6807 MB / 0.5539 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.525e-05/0.1113, allocations: 16.12 kB / 0.5539 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.1114, allocations: 27.39 kB / 0.5539 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1114, allocations: 0 / 0.5539 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1358, allocations: 1.946 MB / 0.5558 GB, free: 8.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12, allocations: 9.312 kB / 0.5558 GB, free: 8.637 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.223377356072888] Failed to read output from testmodel.py, exit status != 0: 12.155565497931093 12.458925538999999 12.353919448 Calling exit ...