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.0007424/0.0007424, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8866/0.8866, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.00106/0.00106, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02218/0.02218, allocations: 6.664 MB / 319 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.238e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 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.0009037/0.0009161, allocations: 0.5087 MB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003952/0.001311, allocations: 299.2 kB / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.001343, allocations: 4 kB / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.001389, allocations: 3.938 kB / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.001742, allocations: 67.67 kB / 446.3 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.423e-05/0.001786, allocations: 11.98 kB / 446.3 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.00188, allocations: 27.86 kB / 446.3 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.001912, allocations: 4 kB / 446.3 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.001966, allocations: 19.95 kB / 446.3 MB, free: 36.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.002199, allocations: 59.88 kB / 446.4 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.002212, allocations: 0 / 446.4 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.002221, allocations: 4 kB / 446.4 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.00226, allocations: 15.98 kB / 446.4 MB, free: 36.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.002284, allocations: 11.92 kB / 446.4 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.002357, allocations: 27.91 kB / 446.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002358, allocations: 7.875 kB / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002359, allocations: 0 / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.002362, allocations: 0 / 446.4 MB, free: 36.58 MB / 330.7 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.000301/0.002663, allocations: 315.9 kB / 446.8 MB, free: 36.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.002697, allocations: 8.031 kB / 446.8 MB, free: 36.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.994e-05/0.002717, allocations: 114 kB / 446.9 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.002752, allocations: 80.17 kB / 447 MB, free: 36.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.00285, allocations: 197 kB / 447.1 MB, free: 35.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.002869, allocations: 154.9 kB / 447.3 MB, free: 35.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.002887, allocations: 154.9 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.272e-05/0.00292, allocations: 101.5 kB / 447.5 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.00293, allocations: 75.47 kB / 447.6 MB, free: 35.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.002945, allocations: 154.9 kB / 447.8 MB, free: 35.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.002959, allocations: 162.6 kB / 447.9 MB, free: 35.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.002977, allocations: 154.6 kB / 448.1 MB, free: 34.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.003124, allocations: 437 kB / 448.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.003159, allocations: 165.1 kB / 448.7 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.00317, allocations: 80.14 kB / 448.7 MB, free: 34.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.00318, allocations: 79.28 kB / 448.8 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.003196, allocations: 113.8 kB / 448.9 MB, free: 33.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.003196, allocations: 0 / 448.9 MB, free: 33.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.006e-05/0.003247, allocations: 33.66 kB / 449 MB, free: 33.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.003277, allocations: 134.6 kB / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.003373, allocations: 148.6 kB / 449.2 MB, free: 33.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.003379, allocations: 29.7 kB / 449.3 MB, free: 33.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.003405, allocations: 96.08 kB / 449.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.003407, allocations: 0 / 449.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.003433, allocations: 25.7 kB / 449.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.00346, allocations: 326.9 kB / 449.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.003491, allocations: 45.69 kB / 449.8 MB, free: 33.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.003526, allocations: 86.77 kB / 449.8 MB, free: 32.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.00358, allocations: 90.8 kB / 449.9 MB, free: 32.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.003582, allocations: 3.938 kB / 449.9 MB, free: 32.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002644/0.003847, allocations: 198.5 kB / 450.1 MB, free: 32.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.003866, allocations: 33.7 kB / 450.2 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.003871, allocations: 4.188 kB / 450.2 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.003999, allocations: 45.62 kB / 450.2 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.004141, allocations: 23.98 kB / 450.2 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.005513, allocations: 5.159 MB / 455.4 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.005551, allocations: 11.92 kB / 455.4 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.005559, allocations: 4 kB / 455.4 MB, free: 26.86 MB / 330.7 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 5.58e-05/0.005615, allocations: 201 kB / 455.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.005635, allocations: 108.9 kB / 455.7 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.005649, allocations: 116.5 kB / 455.8 MB, free: 26.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.005663, allocations: 176.3 kB / 456 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.005678, allocations: 192.2 kB / 456.2 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.005693, allocations: 184.3 kB / 456.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.005773, allocations: 388.2 kB / 456.7 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.005782, allocations: 108.9 kB / 456.9 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.005791, allocations: 105 kB / 457 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.005804, allocations: 180.2 kB / 457.1 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.005822, allocations: 184.2 kB / 457.3 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.005835, allocations: 176.5 kB / 457.5 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/0.005849, allocations: 180.2 kB / 457.7 MB, free: 24.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.125e-05/0.00589, allocations: 319.7 kB / 458 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.005912, allocations: 108.9 kB / 458.1 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.005931, allocations: 180.3 kB / 458.3 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.005963, allocations: 108.9 kB / 458.4 MB, free: 23.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.005983, allocations: 176.3 kB / 458.5 MB, free: 23.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.005993, allocations: 108.9 kB / 458.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.006026, allocations: 111.3 kB / 458.7 MB, free: 23.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006026, allocations: 0 / 458.7 MB, free: 23.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.006216, allocations: 12 kB / 458.8 MB, free: 23.31 MB / 330.7 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.0001387/0.006355, allocations: 0.8048 MB / 459.6 MB, free: 22.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.006774, allocations: 374.4 kB / 459.9 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.006776, allocations: 0 / 459.9 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.006778, allocations: 0 / 459.9 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.006954, allocations: 473.1 kB / 460.4 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.007764, allocations: 1.79 MB / 462.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.007809, allocations: 79.23 kB / 462.3 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.007831, allocations: 4 kB / 462.3 MB, free: 19.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.007864, allocations: 20.48 kB / 462.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007865, allocations: 0 / 462.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02351, allocations: 2.558 MB / 464.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.794, allocations: 0 / 464.8 MB, free: 17.11 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.677370003424585] Failed to read output from testmodel.py, exit status != 0: 7.8821576200425625 7.888823455 7.885042538 Calling exit ...