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.001904/0.001904, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.472/1.472, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.001589/0.001589, allocations: 205.5 kB / 309.2 MB, free: 3.152 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.04178/0.04178, allocations: 8.912 MB / 374.6 MB, free: 1.906 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.002651/0.002651, allocations: 88.14 kB / 0.4892 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2646, allocations: 55.6 MB / 0.5435 GB, free: 26.79 MB / 382.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.001489/0.2661, allocations: 0.5197 MB / 0.544 GB, free: 26.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.2666, allocations: 307.7 kB / 0.5443 GB, free: 26.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.2666, allocations: 0 / 0.5443 GB, free: 26.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.2667, allocations: 3.938 kB / 0.5443 GB, free: 26.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.2671, allocations: 74.27 kB / 0.5444 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.985e-05/0.2671, allocations: 6.703 kB / 0.5444 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.2672, allocations: 23.84 kB / 0.5444 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.2672, allocations: 6.875 kB / 0.5444 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.2673, allocations: 17.77 kB / 0.5444 GB, free: 26.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.2675, allocations: 65.11 kB / 0.5445 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2676, allocations: 3.219 kB / 0.5445 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.2676, allocations: 0 / 0.5445 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.2676, allocations: 13.69 kB / 0.5445 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.2676, allocations: 18.34 kB / 0.5445 GB, free: 26.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.2677, allocations: 33.64 kB / 0.5445 GB, free: 26.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2677, allocations: 7.031 kB / 0.5446 GB, free: 26.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2677, allocations: 0 / 0.5446 GB, free: 26.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2677, allocations: 3.938 kB / 0.5446 GB, free: 26.17 MB / 382.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.0003683/0.2681, allocations: 317.1 kB / 0.5449 GB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.2681, allocations: 9.656 kB / 0.5449 GB, free: 25.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.451e-05/0.2681, allocations: 109.3 kB / 0.545 GB, free: 25.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.2682, allocations: 83.39 kB / 0.5451 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2683, allocations: 194.6 kB / 0.5452 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.2683, allocations: 165.8 kB / 0.5454 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.2683, allocations: 154.1 kB / 0.5455 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.597e-05/0.2684, allocations: 105.5 kB / 0.5456 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2684, allocations: 79.22 kB / 0.5457 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2684, allocations: 150.6 kB / 0.5459 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2684, allocations: 154.5 kB / 0.546 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.2684, allocations: 158.6 kB / 0.5462 GB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.2686, allocations: 436.7 kB / 0.5466 GB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.2687, allocations: 165.1 kB / 0.5467 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.2687, allocations: 80.14 kB / 0.5468 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2687, allocations: 79.28 kB / 0.5469 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2687, allocations: 113.8 kB / 0.547 GB, free: 23.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2687, allocations: 0 / 0.547 GB, free: 23.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.459e-05/0.2688, allocations: 43.28 kB / 0.547 GB, free: 23.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.2688, allocations: 126.7 kB / 0.5472 GB, free: 23.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2689, allocations: 148.2 kB / 0.5473 GB, free: 23.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.2689, allocations: 29.7 kB / 0.5473 GB, free: 23.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.2689, allocations: 94.5 kB / 0.5474 GB, free: 23.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.2689, allocations: 0 / 0.5474 GB, free: 23.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.269, allocations: 23.31 kB / 0.5474 GB, free: 23.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.269, allocations: 318.2 kB / 0.5477 GB, free: 22.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.269, allocations: 20.19 kB / 0.5478 GB, free: 22.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.2691, allocations: 56.89 kB / 0.5478 GB, free: 22.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.2691, allocations: 92.72 kB / 0.5479 GB, free: 22.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2691, allocations: 3.938 kB / 0.5479 GB, free: 22.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003358/0.2695, allocations: 169.7 kB / 0.5481 GB, free: 22.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2695, allocations: 32.2 kB / 0.5481 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2695, allocations: 3.125 kB / 0.5481 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.2697, allocations: 50.12 kB / 0.5482 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2699, allocations: 29.25 kB / 0.5482 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.2721, allocations: 5.165 MB / 0.5532 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.2721, allocations: 10.53 kB / 0.5532 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2722, allocations: 7.234 kB / 0.5532 GB, free: 17.31 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 6.955e-05/0.2722, allocations: 212 kB / 0.5534 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.2723, allocations: 108.1 kB / 0.5535 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.2723, allocations: 115.8 kB / 0.5537 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.2723, allocations: 176.3 kB / 0.5538 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/0.2723, allocations: 186.8 kB / 0.554 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.2723, allocations: 184.3 kB / 0.5542 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2725, allocations: 385.2 kB / 0.5545 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.2725, allocations: 108.2 kB / 0.5547 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2725, allocations: 101 kB / 0.5547 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.2725, allocations: 187.4 kB / 0.5549 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2725, allocations: 180.3 kB / 0.5551 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.2725, allocations: 184.2 kB / 0.5553 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/0.2726, allocations: 182.7 kB / 0.5554 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.077e-05/0.2726, allocations: 307 kB / 0.5557 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.2726, allocations: 111.6 kB / 0.5558 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.2727, allocations: 187.5 kB / 0.556 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.2727, allocations: 109 kB / 0.5561 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2727, allocations: 176.3 kB / 0.5563 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2728, allocations: 115.8 kB / 0.5564 GB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.2728, allocations: 111.6 kB / 0.5565 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2728, allocations: 0 / 0.5565 GB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2731, allocations: 13.84 kB / 0.5565 GB, free: 13.85 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.0001609/0.2732, allocations: 0.804 MB / 0.5573 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.2738, allocations: 347.1 kB / 0.5576 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2738, allocations: 0 / 0.5576 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.2738, allocations: 3.938 kB / 0.5576 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2741, allocations: 459.6 kB / 0.5581 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2752, allocations: 1.693 MB / 0.5597 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.2753, allocations: 0.6946 MB / 0.5604 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.2754, allocations: 0 / 0.5604 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2754, allocations: 17.94 kB / 0.5604 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2754, allocations: 0 / 0.5604 GB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.3056, allocations: 1.943 MB / 0.5623 GB, free: 9.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.39, allocations: 9.078 kB / 0.5623 GB, free: 9.613 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.079464168054983] Failed to read output from testmodel.py, exit status != 0: 13.503009434090927 13.52466902 13.25271961 Calling exit ...