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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.506/1.506, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001482/0.001482, allocations: 213.5 kB / 309.2 MB, free: 3.16 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.0412/0.0412, allocations: 8.931 MB / 374.6 MB, free: 6.598 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.002552/0.002552, allocations: 89.73 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1073, allocations: 55.61 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002745/0.11, allocations: 1.191 MB / 0.5446 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.46e-05/0.1101, allocations: 3.984 kB / 0.5446 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1101, allocations: 4 kB / 0.5446 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.1101, allocations: 3.938 kB / 0.5446 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.1102, allocations: 3.938 kB / 0.5446 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.1102, allocations: 0 / 0.5446 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.1103, allocations: 7.938 kB / 0.5446 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.1103, allocations: 7.938 kB / 0.5446 GB, free: 3.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.1104, allocations: 11.97 kB / 0.5446 GB, free: 3.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.1104, allocations: 4 kB / 0.5446 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1104, allocations: 4 kB / 0.5446 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/0.1104, allocations: 0 / 0.5446 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1105, allocations: 3.938 kB / 0.5447 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1105, allocations: 0 / 0.5447 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.028e-05/0.1105, allocations: 8.219 kB / 0.5447 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1106, allocations: 0 / 0.5447 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1106, allocations: 0 / 0.5447 GB, free: 3.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1106, allocations: 0 / 0.5447 GB, free: 3.812 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.0004172/0.111, allocations: 238.5 kB / 0.5449 GB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.111, allocations: 15.98 kB / 0.5449 GB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1111, allocations: 38.75 kB / 0.5449 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.1111, allocations: 0.9375 kB / 0.5449 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1112, allocations: 118.4 kB / 0.5451 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1112, allocations: 384 / 0.5451 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1112, allocations: 4.312 kB / 0.5451 GB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1113, allocations: 47.98 kB / 0.5451 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1113, allocations: 3.938 kB / 0.5451 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.1113, allocations: 3.984 kB / 0.5451 GB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1114, allocations: 4 kB / 0.5451 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.1114, allocations: 3.938 kB / 0.5451 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.1118, allocations: 169.6 kB / 0.5453 GB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.1119, allocations: 37.23 kB / 0.5453 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.1119, allocations: 15.84 kB / 0.5453 GB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1119, allocations: 8 kB / 0.5453 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.112, allocations: 30.56 kB / 0.5454 GB, free: 2.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.112, allocations: 0 / 0.5454 GB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.1121, allocations: 53.58 kB / 0.5454 GB, free: 2.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.1122, allocations: 77.11 kB / 0.5455 GB, free: 2.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.1123, allocations: 97.84 kB / 0.5456 GB, free: 2.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1123, allocations: 25.7 kB / 0.5456 GB, free: 2.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.1123, allocations: 84.14 kB / 0.5457 GB, free: 2.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1123, allocations: 3.953 kB / 0.5457 GB, free: 2.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1124, allocations: 13.72 kB / 0.5457 GB, free: 2.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1125, allocations: 310.8 kB / 0.546 GB, free: 2.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.1125, allocations: 12.36 kB / 0.546 GB, free: 2.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.1125, allocations: 13.72 kB / 0.546 GB, free: 2.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.1126, allocations: 25.66 kB / 0.5461 GB, free: 2.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1126, allocations: 0 / 0.5461 GB, free: 2.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.865e-05/0.1126, allocations: 33.7 kB / 0.5461 GB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1126, allocations: 15.88 kB / 0.5461 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1127, allocations: 0 / 0.5461 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1127, allocations: 3.984 kB / 0.5461 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1129, allocations: 32.05 kB / 0.5461 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.1147, allocations: 2.508 MB / 0.5486 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.1148, allocations: 4.062 kB / 0.5486 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1148, allocations: 4.031 kB / 0.5486 GB, free: 15.33 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 9.489e-05/0.1149, allocations: 105.8 kB / 0.5487 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1149, allocations: 15.92 kB / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.1149, allocations: 11.14 kB / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1149, allocations: 0 / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.1149, allocations: 3.938 kB / 0.5487 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1149, allocations: 0 / 0.5487 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.1152, allocations: 160.7 kB / 0.5489 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1152, allocations: 0 / 0.5489 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1154, allocations: 27.92 kB / 0.5489 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1154, allocations: 3.938 kB / 0.5489 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1154, allocations: 4 kB / 0.5489 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.117, allocations: 2.5 MB / 0.5513 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.117, allocations: 4.031 kB / 0.5514 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.382e-05/0.1171, allocations: 74.23 kB / 0.5514 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1171, allocations: 11.97 kB / 0.5514 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-06/0.1171, allocations: 0 / 0.5514 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.1172, allocations: 0 / 0.5514 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.1172, allocations: 7.984 kB / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1172, allocations: 4 kB / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.1172, allocations: 75.28 kB / 0.5515 GB, free: 12.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1172, allocations: 0 / 0.5515 GB, free: 12.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1174, allocations: 8 kB / 0.5515 GB, free: 12.03 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.0004143/0.1178, allocations: 0.6094 MB / 0.5521 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1183, allocations: 39.92 kB / 0.5522 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1183, allocations: 0 / 0.5522 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.1187, allocations: 36.09 kB / 0.5522 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1188, allocations: 12 kB / 0.5522 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.1193, allocations: 140.2 kB / 0.5523 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.1194, allocations: 67.28 kB / 0.5524 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.1195, allocations: 16.06 kB / 0.5524 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1195, allocations: 27.39 kB / 0.5524 GB, free: 10.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1195, allocations: 3.938 kB / 0.5524 GB, free: 10.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.1518, allocations: 2.26 MB / 0.5547 GB, free: 8.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.24, allocations: 6.656 kB / 0.5547 GB, free: 8.836 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: 14.280183902010322] Failed to read output from testmodel.py, exit status != 0: 11.341953522991389 11.531129815 11.418139713 Calling exit ...