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.0007455/0.0007455, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.9065/0.9065, allocations: 177.1 MB / 199.4 MB, free: 5.922 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.001087/0.001087, allocations: 152.7 kB / 256 MB, free: 13.33 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.02282/0.02282, allocations: 6.663 MB / 319 MB, free: 26.75 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.893e-06/1.893e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.674e-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.0009591/0.0009758, allocations: 0.5077 MB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.001442, allocations: 299.2 kB / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.001482, allocations: 0 / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.00153, allocations: 4 kB / 446.2 MB, free: 36.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.00196, allocations: 67.73 kB / 446.3 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.332e-05/0.002014, allocations: 19.91 kB / 446.3 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.002129, allocations: 27.86 kB / 446.3 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.002171, allocations: 0 / 446.3 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.002236, allocations: 19.97 kB / 446.3 MB, free: 36.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.002515, allocations: 59.81 kB / 446.4 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.00253, allocations: 4 kB / 446.4 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.002539, allocations: 0 / 446.4 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.002578, allocations: 15.97 kB / 446.4 MB, free: 36.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.002603, allocations: 19.92 kB / 446.4 MB, free: 36.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.00267, allocations: 27.91 kB / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002672, allocations: 0 / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002672, allocations: 0 / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.002676, 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.0003108/0.002987, allocations: 311.9 kB / 446.7 MB, free: 36.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.003021, allocations: 15.97 kB / 446.8 MB, free: 36.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.916e-05/0.00304, allocations: 106 kB / 446.9 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.003076, allocations: 88.16 kB / 447 MB, free: 36.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003176, allocations: 199.8 kB / 447.1 MB, free: 35.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.003194, allocations: 154.9 kB / 447.3 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.003212, allocations: 158.9 kB / 447.5 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.928e-05/0.003242, allocations: 105.5 kB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00325, allocations: 75.47 kB / 447.6 MB, free: 35.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.003263, allocations: 150.9 kB / 447.8 MB, free: 35.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.003275, allocations: 154.7 kB / 447.9 MB, free: 35.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.334e-05/0.003289, allocations: 150.6 kB / 448.1 MB, free: 34.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.003425, allocations: 437 kB / 448.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.003463, allocations: 177.1 kB / 448.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.003474, allocations: 84.14 kB / 448.8 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.003483, allocations: 79.27 kB / 448.8 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.003498, allocations: 105.8 kB / 448.9 MB, free: 33.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.003499, allocations: 0 / 448.9 MB, free: 33.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.016e-05/0.003549, allocations: 33.66 kB / 449 MB, free: 33.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.003572, allocations: 142.5 kB / 449.1 MB, free: 33.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.003663, allocations: 141.8 kB / 449.3 MB, free: 33.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.003669, allocations: 33.7 kB / 449.3 MB, free: 33.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.003696, allocations: 92.08 kB / 449.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.003698, allocations: 4 kB / 449.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.003725, allocations: 21.72 kB / 449.4 MB, free: 33.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.847e-05/0.003753, allocations: 326.9 kB / 449.7 MB, free: 33.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.003783, allocations: 37.7 kB / 449.8 MB, free: 33.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.00382, allocations: 90.81 kB / 449.8 MB, free: 32.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.003874, allocations: 86.8 kB / 449.9 MB, free: 32.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.003876, allocations: 0 / 449.9 MB, free: 32.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002652/0.004141, allocations: 202.5 kB / 450.1 MB, free: 32.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.004165, allocations: 33.7 kB / 450.2 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.004169, allocations: 0 / 450.2 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.004296, allocations: 49.62 kB / 450.2 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.004439, allocations: 28.17 kB / 450.2 MB, free: 32.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.00592, allocations: 5.147 MB / 455.4 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.00596, allocations: 19.86 kB / 455.4 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.00597, 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 7.135e-05/0.006042, allocations: 201.4 kB / 455.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.006064, allocations: 116.9 kB / 455.7 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.00608, allocations: 112.6 kB / 455.8 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.006096, allocations: 184.2 kB / 456 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.006114, allocations: 180.3 kB / 456.2 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.006129, allocations: 180.2 kB / 456.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.059e-05/0.00622, allocations: 400.2 kB / 456.7 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.006229, allocations: 101 kB / 456.8 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.006239, allocations: 104.9 kB / 456.9 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.006253, allocations: 184.3 kB / 457.1 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.006271, allocations: 180.2 kB / 457.3 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.006285, allocations: 184.4 kB / 457.5 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/0.006301, allocations: 180.3 kB / 457.7 MB, free: 24.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.44e-05/0.006345, allocations: 307.7 kB / 458 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.006372, allocations: 116.9 kB / 458.1 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.006391, allocations: 184.3 kB / 458.3 MB, free: 23.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.006425, allocations: 101 kB / 458.4 MB, free: 23.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.006446, allocations: 180.2 kB / 458.5 MB, free: 23.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.006457, allocations: 109 kB / 458.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.006493, allocations: 109.1 kB / 458.7 MB, free: 23.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006493, allocations: 4 kB / 458.7 MB, free: 23.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000189/0.006682, allocations: 8 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.0001297/0.006812, allocations: 0.8125 MB / 459.6 MB, free: 22.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.007224, allocations: 366.7 kB / 459.9 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007226, allocations: 4.062 kB / 459.9 MB, free: 22.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.007227, allocations: 4 kB / 459.9 MB, free: 22.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.007407, allocations: 465.5 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.0008084/0.008216, allocations: 1.794 MB / 462.2 MB, free: 19.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.00826, allocations: 79.17 kB / 462.3 MB, free: 19.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.008283, 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.068e-05/0.008314, allocations: 20.48 kB / 462.3 MB, free: 19.53 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008314, allocations: 0 / 462.3 MB, free: 19.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02552, allocations: 2.55 MB / 464.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/7.779, allocations: 4 kB / 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 & 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: 9.74656752962619] Failed to read output from testmodel.py, exit status != 0: 7.869132023304701 7.875533271 7.871395792 Calling exit ...