Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.0007897/0.0007897, allocations: 80.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.9382/0.9382, allocations: 177.1 MB / 199.4 MB, free: 5.91 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.001456/0.001456, allocations: 156.6 kB / 256 MB, free: 13.31 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.02251/0.02251, allocations: 6.665 MB / 319 MB, free: 26.74 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.ComplexCalculation,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.ComplexCalculation,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.382e-05, allocations: 2.281 kB / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.00205/0.002074, allocations: 1.378 MB / 446.8 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003074, allocations: 0.8487 MB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.003115, allocations: 0 / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.003395, allocations: 87.44 kB / 447.7 MB, free: 35.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.003474, allocations: 19.86 kB / 447.7 MB, free: 35.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.003993, allocations: 266.8 kB / 448 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.00415, allocations: 43.78 kB / 448 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.004201, allocations: 4 kB / 448 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.004319, allocations: 27.8 kB / 448 MB, free: 34.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.004359, allocations: 7.984 kB / 448.1 MB, free: 34.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.004374, allocations: 3.938 kB / 448.1 MB, free: 34.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.004588, allocations: 119.8 kB / 448.2 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.004601, allocations: 0 / 448.2 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.004621, allocations: 7.938 kB / 448.2 MB, free: 34.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.004853, allocations: 167.4 kB / 448.3 MB, free: 34.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.004858, allocations: 0 / 448.3 MB, free: 34.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.004859, allocations: 0 / 448.3 MB, free: 34.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.004865, allocations: 0 / 448.3 MB, free: 34.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007661/0.005631, allocations: 353.9 kB / 448.7 MB, free: 34.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.005678, allocations: 12.03 kB / 448.7 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.005709, allocations: 30.75 kB / 448.7 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.005738, allocations: 4.891 kB / 448.7 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.119e-05/0.005809, allocations: 109.8 kB / 448.8 MB, free: 34.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005823, allocations: 4.375 kB / 448.8 MB, free: 34.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.005836, allocations: 4.375 kB / 448.9 MB, free: 34.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.00597, allocations: 54.23 kB / 448.9 MB, free: 34.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005979, allocations: 192 / 448.9 MB, free: 34.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005991, allocations: 8.062 kB / 448.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.006, allocations: 0 / 448.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.00609, allocations: 43.97 kB / 449 MB, free: 33.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.00624, allocations: 140.7 kB / 449.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.006395, allocations: 62.62 kB / 449.2 MB, free: 33.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.006439, allocations: 28.97 kB / 449.2 MB, free: 33.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.006456, allocations: 4 kB / 449.2 MB, free: 33.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.006469, allocations: 30.56 kB / 449.2 MB, free: 33.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.00647, allocations: 0 / 449.2 MB, free: 33.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001838/0.006654, allocations: 109.5 kB / 449.3 MB, free: 33.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.006675, allocations: 51.41 kB / 449.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86e-05/0.006713, allocations: 106.1 kB / 449.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.006719, allocations: 25.7 kB / 449.5 MB, free: 33.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.604e-05/0.006735, allocations: 84.14 kB / 449.6 MB, free: 33.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.00676, allocations: 23.78 kB / 449.6 MB, free: 33.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.006787, allocations: 21.7 kB / 449.6 MB, free: 33.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.065e-05/0.006817, allocations: 318.8 kB / 449.9 MB, free: 32.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.006846, allocations: 24.23 kB / 450 MB, free: 32.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.006869, allocations: 16 kB / 450 MB, free: 32.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.00693, allocations: 52.8 kB / 450 MB, free: 32.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006932, allocations: 0 / 450 MB, free: 32.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.576e-05/0.007017, allocations: 77.69 kB / 450.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.007029, allocations: 4 kB / 450.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.007033, allocations: 0 / 450.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007046, allocations: 7.938 kB / 450.1 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.007127, allocations: 15.92 kB / 450.1 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.007132, allocations: 0 / 450.1 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.007153, allocations: 7.953 kB / 450.1 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.007159, allocations: 0 / 450.1 MB, free: 32.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 4.493e-05/0.007204, allocations: 113.8 kB / 450.3 MB, free: 32.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-06/0.007209, allocations: 3.938 kB / 450.3 MB, free: 32.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.007341, allocations: 106.1 kB / 450.4 MB, free: 32.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007343, allocations: 3.938 kB / 450.4 MB, free: 32.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.007348, allocations: 0 / 450.4 MB, free: 32.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.00735, allocations: 0 / 450.4 MB, free: 32.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.26e-05/0.007412, allocations: 156.6 kB / 450.5 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007414, allocations: 0 / 450.5 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.007451, allocations: 15.98 kB / 450.5 MB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007453, allocations: 4 kB / 450.5 MB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.00746, allocations: 0 / 450.5 MB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007462, allocations: 3.938 kB / 450.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007463, allocations: 0 / 450.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.655e-05/0.007549, allocations: 117 kB / 450.7 MB, free: 32.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.007556, allocations: 8.141 kB / 450.7 MB, free: 32.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.007567, allocations: 4 kB / 450.7 MB, free: 32.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.761e-05/0.007585, allocations: 3.938 kB / 450.7 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.0076, allocations: 11.98 kB / 450.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.007604, allocations: 0 / 450.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.599e-05/0.00762, allocations: 87.27 kB / 450.8 MB, free: 31.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00762, allocations: 0 / 450.8 MB, free: 31.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001304/0.00775, allocations: 16 kB / 450.8 MB, free: 31.94 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 (8): * Single equations (assignments): 8 * 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.0002197/0.00797, allocations: 0.6554 MB / 451.4 MB, free: 31.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.008077, allocations: 51.98 kB / 451.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008079, allocations: 0 / 451.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.008107, allocations: 27.94 kB / 451.5 MB, free: 31.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.008229, allocations: 7.938 kB / 451.5 MB, free: 31.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.008537, allocations: 194.4 kB / 451.7 MB, free: 30.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.008565, allocations: 66.3 kB / 451.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.008593, allocations: 11.98 kB / 451.8 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.008638, allocations: 16.5 kB / 451.8 MB, free: 30.83 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.008639, allocations: 0 / 451.8 MB, free: 30.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.02652, allocations: 2.606 MB / 454.4 MB, free: 28.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.89, allocations: 3 kB / 454.4 MB, free: 28.34 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_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_ComplexCalculation.fmu > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.961032257415354] Failed to read output from testmodel.py, exit status != 0: 6.970788980834186 6.980537814 6.973723594 Calling exit ...