Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.001382/0.001382, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.54/1.54, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.001658/0.001658, allocations: 217.9 kB / 309.2 MB, free: 3.156 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.0415/0.0415, allocations: 8.922 MB / 374.6 MB, free: 6.602 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.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",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.002532/0.002532, allocations: 95.84 kB / 0.4891 GB, free: 44.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1121, allocations: 55.6 MB / 0.5434 GB, free: 5.09 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001753/0.1139, allocations: 0.5036 MB / 0.5439 GB, free: 4.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.1146, allocations: 293.2 kB / 0.5442 GB, free: 4.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.1147, allocations: 0 / 0.5442 GB, free: 4.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.1147, allocations: 4 kB / 0.5442 GB, free: 4.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.1153, allocations: 67.73 kB / 0.5443 GB, free: 4.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.971e-05/0.1154, allocations: 11.98 kB / 0.5443 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1156, allocations: 23.92 kB / 0.5443 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1156, allocations: 3.938 kB / 0.5443 GB, free: 4.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.1157, allocations: 23.86 kB / 0.5443 GB, free: 4.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.116, allocations: 63.86 kB / 0.5444 GB, free: 4.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.116, allocations: 0 / 0.5444 GB, free: 4.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.1161, allocations: 4 kB / 0.5444 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.1161, allocations: 19.97 kB / 0.5444 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.1162, allocations: 11.88 kB / 0.5444 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1163, allocations: 32.12 kB / 0.5445 GB, free: 4.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1163, allocations: 3.938 kB / 0.5445 GB, free: 4.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1163, allocations: 0 / 0.5445 GB, free: 4.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1163, allocations: 0 / 0.5445 GB, free: 4.035 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005544/0.1169, allocations: 319.8 kB / 0.5448 GB, free: 3.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1169, allocations: 15.98 kB / 0.5448 GB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.556e-05/0.117, allocations: 106 kB / 0.5449 GB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.117, allocations: 84.17 kB / 0.545 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1172, allocations: 197.8 kB / 0.5452 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.1173, allocations: 158.9 kB / 0.5453 GB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1174, allocations: 154.9 kB / 0.5455 GB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.1175, allocations: 105.5 kB / 0.5456 GB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.1175, allocations: 79.22 kB / 0.5456 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.1176, allocations: 158.6 kB / 0.5458 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.1176, allocations: 154.6 kB / 0.5459 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.1177, allocations: 150.6 kB / 0.5461 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1181, allocations: 444.9 kB / 0.5465 GB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1182, allocations: 169.1 kB / 0.5467 GB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.1182, allocations: 84.14 kB / 0.5467 GB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1182, allocations: 75.28 kB / 0.5468 GB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.1183, allocations: 105.8 kB / 0.5469 GB, free: 1.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1183, allocations: 0 / 0.5469 GB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.319e-05/0.1184, allocations: 37.59 kB / 0.5469 GB, free: 1.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.1184, allocations: 134.7 kB / 0.5471 GB, free: 1.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1186, allocations: 153 kB / 0.5472 GB, free: 1.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1186, allocations: 25.7 kB / 0.5472 GB, free: 1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.1187, allocations: 92.09 kB / 0.5473 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1187, allocations: 0 / 0.5473 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.1188, allocations: 29.7 kB / 0.5474 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1189, allocations: 314.8 kB / 0.5477 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.119, allocations: 45.69 kB / 0.5477 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.119, allocations: 82.83 kB / 0.5478 GB, free: 408 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1192, allocations: 94.78 kB / 0.5479 GB, free: 288 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1192, allocations: 3.938 kB / 0.5479 GB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004457/0.1196, allocations: 198.7 kB / 0.5481 GB, free: 60 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.1197, allocations: 41.67 kB / 0.5481 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1197, allocations: 0 / 0.5481 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.1199, allocations: 45.77 kB / 0.5482 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1201, allocations: 23.98 kB / 0.5482 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.1242, allocations: 5.146 MB / 0.5532 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.1243, allocations: 19.91 kB / 0.5532 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1243, allocations: 4 kB / 0.5532 GB, free: 10.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.1244, allocations: 197.1 kB / 0.5534 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.1245, allocations: 112.9 kB / 0.5535 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1246, allocations: 120.8 kB / 0.5536 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.733e-05/0.1246, allocations: 184.3 kB / 0.5538 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-05/0.1247, allocations: 180.3 kB / 0.554 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/0.1248, allocations: 180.2 kB / 0.5542 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.125, allocations: 404.1 kB / 0.5545 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.1251, allocations: 101 kB / 0.5546 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.1251, allocations: 105.1 kB / 0.5547 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-05/0.1252, allocations: 180.3 kB / 0.5549 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.1253, allocations: 180.3 kB / 0.5551 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-05/0.1254, allocations: 188.2 kB / 0.5553 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.421e-05/0.1255, allocations: 180.3 kB / 0.5554 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1256, allocations: 303.7 kB / 0.5557 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1257, allocations: 120.9 kB / 0.5558 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.1258, allocations: 184.2 kB / 0.556 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1258, allocations: 105 kB / 0.5561 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.1259, allocations: 180.2 kB / 0.5563 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.126, allocations: 105 kB / 0.5564 GB, free: 6.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.1261, allocations: 111.2 kB / 0.5565 GB, free: 6.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1261, allocations: 0 / 0.5565 GB, free: 6.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1263, allocations: 11.94 kB / 0.5565 GB, free: 6.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004284/0.1267, allocations: 0.8087 MB / 0.5573 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.1275, allocations: 370.4 kB / 0.5576 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.1275, allocations: 0 / 0.5576 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1275, allocations: 0 / 0.5576 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1279, allocations: 466.4 kB / 0.5581 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1296, allocations: 1.79 MB / 0.5598 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.1297, allocations: 71.33 kB / 0.5599 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.541e-05/0.1297, allocations: 11.94 kB / 0.5599 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.1298, allocations: 15.42 kB / 0.5599 GB, free: 2.984 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1298, allocations: 0 / 0.5599 GB, free: 2.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.1658, allocations: 2.392 MB / 0.5623 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/12.97, allocations: 4.062 kB / 0.5623 GB, free: 0.7109 MB / 382.1 MB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.InitializationParameters_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.27759117819369] Failed to read output from testmodel.py, exit status != 0: 13.317286181729287 13.330318184 13.211447263 Calling exit ...