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.001429/0.001429, allocations: 108.4 kB / 16.45 MB, free: 6.453 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.504/1.504, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.001554/0.001554, allocations: 211.5 kB / 306 MB, free: 4.293 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.04346/0.04346, allocations: 8.907 MB / 371 MB, free: 3.422 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.002511/0.002511, allocations: 85.27 kB / 495.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1377, allocations: 55.58 MB / 0.5384 GB, free: 6.473 MB / 350.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.001805/0.1395, allocations: 0.4969 MB / 0.5389 GB, free: 5.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.1402, allocations: 300.6 kB / 0.5392 GB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.1402, allocations: 0 / 0.5392 GB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.1403, allocations: 3.938 kB / 0.5392 GB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.1406, allocations: 59.73 kB / 0.5392 GB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.414e-05/0.1407, allocations: 12 kB / 0.5392 GB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1408, allocations: 31.84 kB / 0.5393 GB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.1409, allocations: 7.969 kB / 0.5393 GB, free: 5.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.1409, allocations: 8 kB / 0.5393 GB, free: 5.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1412, allocations: 67.86 kB / 0.5393 GB, free: 5.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1412, allocations: 4 kB / 0.5393 GB, free: 5.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1412, allocations: 0 / 0.5393 GB, free: 5.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.1413, allocations: 15.92 kB / 0.5394 GB, free: 5.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1413, allocations: 19.86 kB / 0.5394 GB, free: 5.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.1414, allocations: 32.12 kB / 0.5394 GB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1414, allocations: 0 / 0.5394 GB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1414, allocations: 0 / 0.5394 GB, free: 5.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1414, allocations: 0 / 0.5394 GB, free: 5.418 MB / 350.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.0005383/0.1419, allocations: 400.9 kB / 0.5398 GB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.142, allocations: 15.97 kB / 0.5398 GB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.142, allocations: 114 kB / 0.5399 GB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.1421, allocations: 84.16 kB / 0.54 GB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1423, allocations: 247.6 kB / 0.5402 GB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.1424, allocations: 154.9 kB / 0.5404 GB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.1425, allocations: 158.9 kB / 0.5405 GB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/0.1426, allocations: 105.5 kB / 0.5406 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.1426, allocations: 79.22 kB / 0.5407 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.1427, allocations: 150.6 kB / 0.5408 GB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.1427, allocations: 154.5 kB / 0.541 GB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.1428, allocations: 158.5 kB / 0.5411 GB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1431, allocations: 469.9 kB / 0.5416 GB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.1432, allocations: 169.1 kB / 0.5418 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.1432, allocations: 80.14 kB / 0.5418 GB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1433, allocations: 79.28 kB / 0.5419 GB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.1433, allocations: 105.8 kB / 0.542 GB, free: 2.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1433, allocations: 3.938 kB / 0.542 GB, free: 2.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.158e-05/0.1434, allocations: 37.59 kB / 0.542 GB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1435, allocations: 126.7 kB / 0.5422 GB, free: 2.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1436, allocations: 145.8 kB / 0.5423 GB, free: 2.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1436, allocations: 29.7 kB / 0.5423 GB, free: 2.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1437, allocations: 100.1 kB / 0.5424 GB, free: 2.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1437, allocations: 0 / 0.5424 GB, free: 2.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1438, allocations: 29.7 kB / 0.5425 GB, free: 2.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1439, allocations: 310.8 kB / 0.5428 GB, free: 1.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.144, allocations: 19.98 kB / 0.5428 GB, free: 1.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.144, allocations: 49.14 kB / 0.5428 GB, free: 1.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1441, allocations: 98.72 kB / 0.5429 GB, free: 1.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1441, allocations: 0 / 0.5429 GB, free: 1.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004945/0.1446, allocations: 323.1 kB / 0.5432 GB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.1447, allocations: 37.69 kB / 0.5433 GB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1447, allocations: 4 kB / 0.5433 GB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.1449, allocations: 45.58 kB / 0.5433 GB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1451, allocations: 32.16 kB / 0.5433 GB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.1495, allocations: 5.569 MB / 0.5488 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.1496, allocations: 11.92 kB / 0.5488 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1496, allocations: 7.984 kB / 0.5488 GB, free: 10.88 MB / 366.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.0001607/0.1498, allocations: 206 kB / 0.549 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.1498, allocations: 108.9 kB / 0.5491 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1499, allocations: 120.8 kB / 0.5492 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-05/0.15, allocations: 176.3 kB / 0.5494 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.728e-05/0.1501, allocations: 176.3 kB / 0.5495 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.796e-05/0.1501, allocations: 188.1 kB / 0.5497 GB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.1504, allocations: 425.1 kB / 0.5501 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-05/0.1505, allocations: 104.9 kB / 0.5502 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.1505, allocations: 101.6 kB / 0.5503 GB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/0.1506, allocations: 180.2 kB / 0.5505 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.1507, allocations: 184.3 kB / 0.5507 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.892e-05/0.1508, allocations: 176.3 kB / 0.5508 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.357e-05/0.1509, allocations: 192.2 kB / 0.551 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.151, allocations: 319.9 kB / 0.5513 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1511, allocations: 186.1 kB / 0.5515 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.1512, allocations: 180.3 kB / 0.5517 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.1513, allocations: 108.9 kB / 0.5518 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.1514, allocations: 176.3 kB / 0.552 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.1515, allocations: 104.9 kB / 0.5521 GB, free: 7.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.575e-05/0.1516, allocations: 118.8 kB / 0.5522 GB, free: 7.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1516, allocations: 0 / 0.5522 GB, free: 7.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1518, allocations: 11.94 kB / 0.5522 GB, free: 7.188 MB / 366.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.000443/0.1523, allocations: 0.8087 MB / 0.553 GB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.1531, allocations: 344.9 kB / 0.5533 GB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1531, allocations: 0 / 0.5533 GB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1531, allocations: 0 / 0.5533 GB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1535, allocations: 459.6 kB / 0.5537 GB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1556, allocations: 1.987 MB / 0.5557 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1559, allocations: 0.6885 MB / 0.5563 GB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.156, allocations: 4 kB / 0.5564 GB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.156, allocations: 15.44 kB / 0.5564 GB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.156, allocations: 0 / 0.5564 GB, free: 2.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.1846, allocations: 1.937 MB / 0.5583 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.14, allocations: 4.188 kB / 0.5583 GB, free: 0.8008 MB / 366.1 MB " [Timeout remaining time 648] (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: 15.174425267003244] Failed to read output from testmodel.py, exit status != 0: 12.23259787200368 12.247887254 12.103461301 Calling exit ...