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.001842/0.001842, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 14.51 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.001665/0.001665, allocations: 212.4 kB / 310 MB, free: 3.039 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.04112/0.04112, allocations: 8.901 MB / 375.3 MB, free: 6.629 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.002401/0.002401, allocations: 83.88 kB / 0.4899 GB, free: 44.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1193, allocations: 55.62 MB / 0.5442 GB, free: 5.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002447/0.1218, allocations: 1.196 MB / 0.5454 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.562e-05/0.1218, allocations: 3.938 kB / 0.5454 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.1218, allocations: 4 kB / 0.5454 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1219, allocations: 4 kB / 0.5454 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.1219, allocations: 0 / 0.5454 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.954e-05/0.1219, allocations: 3.938 kB / 0.5454 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.122, allocations: 7.984 kB / 0.5454 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.1221, allocations: 7.984 kB / 0.5454 GB, free: 3.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.1221, allocations: 7.984 kB / 0.5454 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.1222, allocations: 7.938 kB / 0.5454 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1222, allocations: 0 / 0.5454 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-06/0.1222, allocations: 0 / 0.5454 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1222, allocations: 0 / 0.5454 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1222, allocations: 4 kB / 0.5454 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.292e-05/0.1223, allocations: 16.14 kB / 0.5454 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1223, allocations: 0 / 0.5454 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1223, allocations: 3.938 kB / 0.5454 GB, free: 3.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1223, allocations: 0 / 0.5454 GB, free: 3.805 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.0003939/0.1227, allocations: 242.5 kB / 0.5457 GB, free: 3.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1227, allocations: 15.98 kB / 0.5457 GB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.358e-05/0.1227, allocations: 192 / 0.5457 GB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.1228, allocations: 30.75 kB / 0.5457 GB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.1228, allocations: 4.938 kB / 0.5457 GB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1229, allocations: 110.5 kB / 0.5458 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1229, allocations: 384 / 0.5458 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.123, allocations: 384 / 0.5458 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1231, allocations: 55.72 kB / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1231, allocations: 0 / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1231, allocations: 0 / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1231, allocations: 0 / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.1231, allocations: 3.938 kB / 0.5459 GB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1236, allocations: 169.6 kB / 0.546 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.921e-05/0.1236, allocations: 41.12 kB / 0.5461 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.1237, allocations: 15.97 kB / 0.5461 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1237, allocations: 3.938 kB / 0.5461 GB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1237, allocations: 34.5 kB / 0.5461 GB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1237, allocations: 0 / 0.5461 GB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.1238, allocations: 49.62 kB / 0.5462 GB, free: 2.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1239, allocations: 77.36 kB / 0.5462 GB, free: 2.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.124, allocations: 97.86 kB / 0.5463 GB, free: 2.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.124, allocations: 29.7 kB / 0.5464 GB, free: 2.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.124, allocations: 80.14 kB / 0.5464 GB, free: 2.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1241, allocations: 11.94 kB / 0.5465 GB, free: 2.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1241, allocations: 9.719 kB / 0.5465 GB, free: 2.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1242, allocations: 318.8 kB / 0.5468 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1242, allocations: 0 / 0.5468 GB, free: 2.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.1243, allocations: 17.66 kB / 0.5468 GB, free: 2.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1243, allocations: 25.84 kB / 0.5468 GB, free: 2.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1243, allocations: 0 / 0.5468 GB, free: 2.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.666e-05/0.1244, allocations: 45.62 kB / 0.5469 GB, free: 2.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1244, allocations: 7.938 kB / 0.5469 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1244, allocations: 0 / 0.5469 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1244, allocations: 0 / 0.5469 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1246, allocations: 27.98 kB / 0.5469 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.1265, allocations: 2.512 MB / 0.5493 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1265, allocations: 7.969 kB / 0.5493 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1265, allocations: 4.297 kB / 0.5494 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.024e-05/0.1266, allocations: 109.8 kB / 0.5495 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.1266, allocations: 11.94 kB / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.1266, allocations: 3.156 kB / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1266, allocations: 0 / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.1266, allocations: 0 / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1266, allocations: 4 kB / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.127, allocations: 160.7 kB / 0.5496 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.127, allocations: 0 / 0.5496 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1271, allocations: 27.92 kB / 0.5497 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1271, allocations: 4 kB / 0.5497 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1271, allocations: 0 / 0.5497 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.1288, allocations: 2.52 MB / 0.5521 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1288, allocations: 0 / 0.5521 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.1289, allocations: 70 kB / 0.5522 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.1289, allocations: 7.922 kB / 0.5522 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-06/0.1289, allocations: 0 / 0.5522 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.1289, allocations: 288 / 0.5522 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.129, allocations: 8 kB / 0.5522 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.129, allocations: 0 / 0.5522 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.129, allocations: 83.22 kB / 0.5523 GB, free: 12.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.129, allocations: 3.938 kB / 0.5523 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1292, allocations: 8 kB / 0.5523 GB, free: 12.02 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.0004097/0.1296, allocations: 0.6016 MB / 0.5529 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.1301, allocations: 43.98 kB / 0.5529 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1301, allocations: 0 / 0.5529 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1305, allocations: 35.97 kB / 0.553 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.0001502/0.1306, allocations: 5.766 kB / 0.553 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.1311, allocations: 148.4 kB / 0.5531 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.1312, allocations: 67.28 kB / 0.5532 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.204e-05/0.1313, allocations: 23.98 kB / 0.5532 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.1314, allocations: 23.41 kB / 0.5532 GB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1314, allocations: 0 / 0.5532 GB, free: 10.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.1543, allocations: 1.95 MB / 0.5551 GB, free: 9.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.4, allocations: 10.88 kB / 0.5551 GB, free: 9.156 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: 14.617067008977756] Failed to read output from testmodel.py, exit status != 0: 11.554949839017354 11.782532617 11.657844733 Calling exit ...