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.001381/0.001381, 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 14.48 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.00174/0.00174, allocations: 207 kB / 310 MB, free: 3.035 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.04064/0.04064, allocations: 8.908 MB / 375.4 MB, free: 6.613 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",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.002408/0.002408, allocations: 79.89 kB / 0.4899 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1172, allocations: 55.62 MB / 0.5442 GB, free: 5.07 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.002092/0.1193, allocations: 0.5115 MB / 0.5447 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.1201, allocations: 278.3 kB / 0.545 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.1201, allocations: 0 / 0.545 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.519e-05/0.1202, allocations: 7.984 kB / 0.545 GB, free: 4.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.1207, allocations: 67.73 kB / 0.545 GB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.287e-05/0.1208, allocations: 15.98 kB / 0.545 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1209, allocations: 31.84 kB / 0.5451 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.121, allocations: 4 kB / 0.5451 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.121, allocations: 11.98 kB / 0.5451 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.1214, allocations: 67.8 kB / 0.5452 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1214, allocations: 0 / 0.5452 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.1214, allocations: 8 kB / 0.5452 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.1215, allocations: 11.92 kB / 0.5452 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.1215, allocations: 15.94 kB / 0.5452 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1216, allocations: 36.06 kB / 0.5452 GB, free: 4.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1216, allocations: 0 / 0.5452 GB, free: 4.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1216, allocations: 0 / 0.5452 GB, free: 4.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1216, allocations: 0 / 0.5452 GB, free: 4.012 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.0005705/0.1222, allocations: 315.8 kB / 0.5455 GB, free: 3.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.1223, allocations: 15.98 kB / 0.5455 GB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.873e-05/0.1223, allocations: 83.47 kB / 0.5456 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.1224, allocations: 106 kB / 0.5457 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.1225, allocations: 84.17 kB / 0.5458 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1227, allocations: 197.7 kB / 0.546 GB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.1228, allocations: 150.9 kB / 0.5461 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.1229, allocations: 158.9 kB / 0.5463 GB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.123, allocations: 109.2 kB / 0.5464 GB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.123, allocations: 79.28 kB / 0.5465 GB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.1231, allocations: 154.6 kB / 0.5466 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.1231, allocations: 154.5 kB / 0.5468 GB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.1232, allocations: 154.6 kB / 0.5469 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1236, allocations: 444.9 kB / 0.5473 GB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1237, allocations: 173.1 kB / 0.5475 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.1237, allocations: 80.14 kB / 0.5476 GB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1237, allocations: 75.28 kB / 0.5476 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.1238, allocations: 109.8 kB / 0.5478 GB, free: 1.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1238, allocations: 0 / 0.5478 GB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.1239, allocations: 33.66 kB / 0.5478 GB, free: 1.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.124, allocations: 126.7 kB / 0.5479 GB, free: 1.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1242, allocations: 152.4 kB / 0.548 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1242, allocations: 37.64 kB / 0.5481 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.1243, allocations: 96.08 kB / 0.5482 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.1243, allocations: 0 / 0.5482 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.1243, allocations: 29.7 kB / 0.5482 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1245, allocations: 314.8 kB / 0.5485 GB, free: 456 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.1245, allocations: 41.69 kB / 0.5485 GB, free: 408 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.1246, allocations: 82.84 kB / 0.5486 GB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1247, allocations: 94.78 kB / 0.5487 GB, free: 180 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1247, allocations: 0 / 0.5487 GB, free: 180 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000543/0.1253, allocations: 198.5 kB / 0.5489 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.1253, allocations: 33.69 kB / 0.5489 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1253, allocations: 0 / 0.5489 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.1256, allocations: 49.88 kB / 0.549 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1258, allocations: 23.98 kB / 0.549 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.1308, allocations: 5.142 MB / 0.554 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1309, allocations: 19.98 kB / 0.554 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1309, allocations: 7.938 kB / 0.5541 GB, free: 10.21 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.0002039/0.1311, allocations: 197.1 kB / 0.5542 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.1312, allocations: 112.9 kB / 0.5544 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.1313, allocations: 116.8 kB / 0.5545 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.1314, allocations: 184.2 kB / 0.5546 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-05/0.1315, allocations: 176.3 kB / 0.5548 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.69e-05/0.1316, allocations: 176.3 kB / 0.555 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.1319, allocations: 400.2 kB / 0.5554 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.5e-05/0.132, allocations: 105 kB / 0.5555 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.1321, allocations: 113 kB / 0.5556 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.1322, allocations: 184.3 kB / 0.5557 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.1323, allocations: 176.3 kB / 0.5559 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001022/0.1324, allocations: 180.2 kB / 0.5561 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.901e-05/0.1325, allocations: 184.3 kB / 0.5563 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1327, allocations: 307.7 kB / 0.5565 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1328, allocations: 116.9 kB / 0.5567 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.133, allocations: 188.2 kB / 0.5568 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.133, allocations: 105 kB / 0.5569 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1332, allocations: 184.2 kB / 0.5571 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.1332, allocations: 105 kB / 0.5572 GB, free: 6.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1334, allocations: 119.1 kB / 0.5573 GB, free: 6.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1334, allocations: 0 / 0.5573 GB, free: 6.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.1337, allocations: 8 kB / 0.5573 GB, free: 6.648 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.0006755/0.1343, allocations: 0.8087 MB / 0.5581 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1354, allocations: 370.5 kB / 0.5585 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1354, allocations: 4 kB / 0.5585 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1354, allocations: 0 / 0.5585 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.136, allocations: 454.8 kB / 0.5589 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.138, allocations: 1.809 MB / 0.5607 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.138, allocations: 71.33 kB / 0.5608 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.1381, allocations: 8 kB / 0.5608 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.1381, allocations: 11.44 kB / 0.5608 GB, free: 2.883 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1381, allocations: 0 / 0.5608 GB, free: 2.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.1712, allocations: 2.06 MB / 0.5628 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.27, allocations: 4.062 kB / 0.5628 GB, free: 0.9492 MB / 382.1 MB " [Timeout remaining time 646] (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.51817751105409] Failed to read output from testmodel.py, exit status != 0: 13.62931013701018 13.642711081 13.518557088 Calling exit ...