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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 194.3 kB / 299.8 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04087/0.04087, allocations: 8.926 MB / 363.6 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 83.42 kB / 486 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1074, allocations: 54.41 MB / 0.5278 GB, free: 1.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002141/0.1096, allocations: 1.18 MB / 0.5289 GB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 3.669e-05/0.1096, allocations: 4 kB / 0.5289 GB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1096, allocations: 0 / 0.5289 GB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1096, allocations: 0 / 0.5289 GB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.1097, allocations: 7.938 kB / 0.5289 GB, free: 144 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.1097, allocations: 7.984 kB / 0.529 GB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.1098, allocations: 4 kB / 0.529 GB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1098, allocations: 0 / 0.529 GB, free: 132 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.1099, allocations: 7.938 kB / 0.529 GB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.1099, allocations: 0 / 0.529 GB, free: 124 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1099, allocations: 0 / 0.529 GB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-06/0.1099, allocations: 4 kB / 0.529 GB, free: 120 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.1099, allocations: 15.91 kB / 0.529 GB, free: 104 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.11, allocations: 3.938 kB / 0.529 GB, free: 100 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.389e-05/0.11, allocations: 7.516 kB / 0.529 GB, free: 96 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.11, allocations: 4 kB / 0.529 GB, free: 92 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.11, allocations: 0 / 0.529 GB, free: 92 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.11, allocations: 3.938 kB / 0.529 GB, free: 88 kB / 334.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.0004479/0.1105, allocations: 319.5 kB / 0.5293 GB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1105, allocations: 8.031 kB / 0.5293 GB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1105, allocations: 34.75 kB / 0.5293 GB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.1106, allocations: 4.938 kB / 0.5294 GB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1107, allocations: 161.1 kB / 0.5295 GB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1107, allocations: 4.375 kB / 0.5295 GB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1107, allocations: 4.359 kB / 0.5295 GB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1108, allocations: 39.98 kB / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1108, allocations: 3.938 kB / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.1108, allocations: 7.938 kB / 0.5296 GB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1109, allocations: 3.984 kB / 0.5296 GB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.1109, allocations: 4 kB / 0.5296 GB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.1113, allocations: 194.6 kB / 0.5298 GB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.549e-05/0.1114, allocations: 33.09 kB / 0.5298 GB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.1114, allocations: 17.83 kB / 0.5298 GB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1114, allocations: 4 kB / 0.5298 GB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1115, allocations: 38.56 kB / 0.5298 GB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1115, allocations: 3.938 kB / 0.5299 GB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.1116, allocations: 45.58 kB / 0.5299 GB, free: 14.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1116, allocations: 77.11 kB / 0.53 GB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.1117, allocations: 98.09 kB / 0.5301 GB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1117, allocations: 29.83 kB / 0.5301 GB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.1118, allocations: 80.14 kB / 0.5302 GB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1118, allocations: 11.89 kB / 0.5302 GB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1118, allocations: 13.72 kB / 0.5302 GB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1119, allocations: 310.8 kB / 0.5305 GB, free: 14.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.112, allocations: 7.984 kB / 0.5305 GB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.112, allocations: 21.66 kB / 0.5305 GB, free: 14.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.112, allocations: 17.78 kB / 0.5305 GB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.112, allocations: 0 / 0.5305 GB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.625e-05/0.1121, allocations: 45.59 kB / 0.5306 GB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1121, allocations: 11.94 kB / 0.5306 GB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1121, allocations: 0 / 0.5306 GB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1121, allocations: 0 / 0.5306 GB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1123, allocations: 32.03 kB / 0.5306 GB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1143, allocations: 2.715 MB / 0.5333 GB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.1143, allocations: 11.98 kB / 0.5333 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1143, allocations: 0 / 0.5333 GB, free: 11.16 MB / 350.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 9.711e-05/0.1144, allocations: 109.8 kB / 0.5334 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1144, allocations: 7.938 kB / 0.5334 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.1144, allocations: 11.11 kB / 0.5334 GB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1144, allocations: 3.938 kB / 0.5334 GB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.1144, allocations: 4.062 kB / 0.5334 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1144, allocations: 0 / 0.5334 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1148, allocations: 181.7 kB / 0.5336 GB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1148, allocations: 0 / 0.5336 GB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1149, allocations: 23.98 kB / 0.5336 GB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1149, allocations: 7.938 kB / 0.5336 GB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1149, allocations: 0 / 0.5336 GB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.1169, allocations: 2.735 MB / 0.5363 GB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1169, allocations: 0 / 0.5363 GB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.356e-05/0.117, allocations: 65.98 kB / 0.5363 GB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.117, allocations: 81.05 kB / 0.5364 GB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.117, allocations: 12.03 kB / 0.5364 GB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.117, allocations: 0 / 0.5364 GB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.1171, allocations: 4 kB / 0.5364 GB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1171, allocations: 4 kB / 0.5364 GB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.1171, allocations: 83.2 kB / 0.5365 GB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1171, allocations: 0 / 0.5365 GB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1173, allocations: 4 kB / 0.5365 GB, free: 7.457 MB / 350.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.0005049/0.1178, allocations: 0.6056 MB / 0.5371 GB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.1183, allocations: 51.95 kB / 0.5372 GB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1183, allocations: 0 / 0.5372 GB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1186, allocations: 27.98 kB / 0.5372 GB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1188, allocations: 0 / 0.5372 GB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.1193, allocations: 140.3 kB / 0.5373 GB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1196, allocations: 0.6883 MB / 0.538 GB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.726e-05/0.1197, allocations: 16 kB / 0.538 GB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.1198, allocations: 27.39 kB / 0.538 GB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1198, allocations: 0 / 0.538 GB, free: 5.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1444, allocations: 1.759 MB / 0.5398 GB, free: 4.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.934, allocations: 0 / 0.5398 GB, free: 4.117 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.677412579301745] Failed to read output from testmodel.py, exit status != 0: 8.172270028851926 8.014034013 7.901176691 Calling exit ...