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.001962/0.001962, 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.57/1.57, 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.001686/0.001686, allocations: 215 kB / 309.2 MB, free: 3.086 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.04065/0.04065, allocations: 8.924 MB / 374.6 MB, free: 6.566 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.002493/0.002493, allocations: 83.88 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.113, allocations: 55.61 MB / 0.5434 GB, free: 5.059 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.001834/0.1149, allocations: 0.5152 MB / 0.5439 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.1156, allocations: 286.3 kB / 0.5442 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.1156, allocations: 0 / 0.5442 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/0.1157, allocations: 4 kB / 0.5442 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.1162, allocations: 63.73 kB / 0.5443 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.889e-05/0.1162, allocations: 11.98 kB / 0.5443 GB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1163, allocations: 35.84 kB / 0.5443 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1164, allocations: 3.984 kB / 0.5443 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.1164, allocations: 12 kB / 0.5443 GB, free: 4.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.1167, allocations: 59.86 kB / 0.5444 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1168, allocations: 0 / 0.5444 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1168, allocations: 4 kB / 0.5444 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1168, allocations: 19.92 kB / 0.5444 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.1169, allocations: 15.86 kB / 0.5444 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.117, allocations: 40.06 kB / 0.5445 GB, free: 3.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.117, allocations: 0 / 0.5445 GB, free: 3.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.117, allocations: 0 / 0.5445 GB, free: 3.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.117, allocations: 4 kB / 0.5445 GB, free: 3.992 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.0004892/0.1175, allocations: 311.8 kB / 0.5448 GB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1175, allocations: 15.98 kB / 0.5448 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.1176, allocations: 106 kB / 0.5449 GB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.1177, allocations: 84.17 kB / 0.545 GB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1179, allocations: 197.8 kB / 0.5452 GB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.1179, allocations: 150.9 kB / 0.5453 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.118, allocations: 154.9 kB / 0.5454 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.1181, allocations: 105.5 kB / 0.5455 GB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.1181, allocations: 83.22 kB / 0.5456 GB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.1182, allocations: 162.5 kB / 0.5458 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.1182, allocations: 154.6 kB / 0.5459 GB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.1183, allocations: 150.6 kB / 0.5461 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1187, allocations: 440.9 kB / 0.5465 GB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1188, allocations: 165.1 kB / 0.5466 GB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.1188, allocations: 92.08 kB / 0.5467 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.1189, allocations: 75.28 kB / 0.5468 GB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/0.1189, allocations: 105.8 kB / 0.5469 GB, free: 1.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1189, allocations: 0 / 0.5469 GB, free: 1.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.194e-05/0.119, allocations: 45.53 kB / 0.547 GB, free: 1.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/0.1191, allocations: 126.7 kB / 0.5471 GB, free: 1.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1193, allocations: 148.9 kB / 0.5472 GB, free: 1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1193, allocations: 33.64 kB / 0.5472 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1194, allocations: 96.06 kB / 0.5473 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.1194, allocations: 0 / 0.5473 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.1195, allocations: 29.72 kB / 0.5474 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1196, allocations: 314.8 kB / 0.5477 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.1197, allocations: 41.7 kB / 0.5477 GB, free: 476 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.1198, allocations: 86.77 kB / 0.5478 GB, free: 364 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1199, allocations: 90.8 kB / 0.5479 GB, free: 248 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1199, allocations: 4 kB / 0.5479 GB, free: 244 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005034/0.1204, allocations: 206.7 kB / 0.5481 GB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.1205, allocations: 33.7 kB / 0.5481 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1205, allocations: 0 / 0.5481 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.1207, allocations: 45.69 kB / 0.5482 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.121, allocations: 23.98 kB / 0.5482 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/0.1254, allocations: 5.146 MB / 0.5532 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.1254, allocations: 15.91 kB / 0.5532 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1254, allocations: 4 kB / 0.5532 GB, free: 10.27 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.0001395/0.1256, allocations: 201.1 kB / 0.5534 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1257, allocations: 112.9 kB / 0.5535 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.1257, allocations: 117 kB / 0.5536 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/0.1258, allocations: 176.3 kB / 0.5538 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.498e-05/0.1259, allocations: 188.2 kB / 0.554 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-05/0.1259, allocations: 176.3 kB / 0.5541 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1262, allocations: 396.2 kB / 0.5545 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.1262, allocations: 101 kB / 0.5546 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.1263, allocations: 105.1 kB / 0.5547 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.608e-05/0.1264, allocations: 184.2 kB / 0.5549 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.1264, allocations: 180.3 kB / 0.5551 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.665e-05/0.1265, allocations: 184.2 kB / 0.5552 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.618e-05/0.1266, allocations: 180.3 kB / 0.5554 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1268, allocations: 315.7 kB / 0.5557 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.1268, allocations: 112.9 kB / 0.5558 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.1269, allocations: 184.2 kB / 0.556 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.127, allocations: 105 kB / 0.5561 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.1271, allocations: 180.3 kB / 0.5563 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.1272, allocations: 108.9 kB / 0.5564 GB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.887e-05/0.1273, allocations: 111.2 kB / 0.5565 GB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1273, allocations: 0 / 0.5565 GB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1275, allocations: 15.94 kB / 0.5565 GB, free: 6.715 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.0004783/0.128, allocations: 0.8126 MB / 0.5573 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008297/0.1288, allocations: 362.4 kB / 0.5576 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1288, allocations: 3.938 kB / 0.5576 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1288, allocations: 0 / 0.5576 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1293, allocations: 468.4 kB / 0.5581 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.131, allocations: 1.797 MB / 0.5598 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.041e-05/0.1311, allocations: 79.33 kB / 0.5599 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.688e-05/0.1312, allocations: 0 / 0.5599 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.1312, allocations: 15.42 kB / 0.5599 GB, free: 2.949 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1312, allocations: 0 / 0.5599 GB, free: 2.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.1637, allocations: 2.388 MB / 0.5623 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.91, allocations: 8.062 kB / 0.5623 GB, free: 0.6758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_InitializationParameters_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08600278198719] Failed to read output from testmodel.py, exit status != 0: 13.249227920547128 13.268138613 13.147218368 Calling exit ...