Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 221.1 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 230.2 MB / 256.2 MB, free: 8.754 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1986/0.1986, allocations: 46.89 MB / 359.3 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 84.19 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2542, allocations: 65.98 MB / 0.5584 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001587/0.2557, allocations: 0.5383 MB / 0.5589 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.2564, allocations: 370.7 kB / 0.5593 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.2564, allocations: 3.938 kB / 0.5593 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.2564, allocations: 0 / 0.5593 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.119e-05/0.2564, allocations: 7.938 kB / 0.5593 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2568, allocations: 103.4 kB / 0.5594 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.2569, allocations: 27.91 kB / 0.5594 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.2569, allocations: 8 kB / 0.5594 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.2569, allocations: 11.94 kB / 0.5594 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.257, allocations: 19.91 kB / 0.5595 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.257, allocations: 4 kB / 0.5595 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.2572, allocations: 119.9 kB / 0.5596 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2572, allocations: 7.984 kB / 0.5596 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.2572, allocations: 15.86 kB / 0.5596 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2574, allocations: 93.72 kB / 0.5597 GB, free: 3.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2574, allocations: 0 / 0.5597 GB, free: 3.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2574, allocations: 0 / 0.5597 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2574, allocations: 0 / 0.5597 GB, free: 3.789 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004136/0.2578, allocations: 379 kB / 0.56 GB, free: 3.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2578, allocations: 8.031 kB / 0.5601 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.2579, allocations: 34.69 kB / 0.5601 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2579, allocations: 4.938 kB / 0.5601 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.258, allocations: 176.3 kB / 0.5603 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.258, allocations: 4.375 kB / 0.5603 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2581, allocations: 4.375 kB / 0.5603 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2582, allocations: 58.17 kB / 0.5603 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2582, allocations: 3.938 kB / 0.5603 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2582, allocations: 7.938 kB / 0.5603 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2582, allocations: 4 kB / 0.5603 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.2583, allocations: 27.98 kB / 0.5604 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.2584, allocations: 165.7 kB / 0.5605 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2586, allocations: 54.58 kB / 0.5606 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.2587, allocations: 24.86 kB / 0.5606 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.2589, allocations: 109.1 kB / 0.5607 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.259, allocations: 30.56 kB / 0.5607 GB, free: 2.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.259, allocations: 0 / 0.5607 GB, free: 2.523 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.03966/0.2986, allocations: 2.575 MB / 0.5632 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2987, allocations: 55.41 kB / 0.5633 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.2987, allocations: 101.8 kB / 0.5634 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.2988, allocations: 29.7 kB / 0.5634 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2988, allocations: 91.89 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.2989, allocations: 59.44 kB / 0.5636 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.299, allocations: 65.67 kB / 0.5636 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2991, allocations: 314.8 kB / 0.5639 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.2995, allocations: 179.8 kB / 0.5641 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.2999, allocations: 182.3 kB / 0.5643 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3009, allocations: 416.6 kB / 0.5647 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3009, allocations: 0 / 0.5647 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.3019, allocations: 462.6 kB / 0.5651 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3019, allocations: 4 kB / 0.5651 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3019, allocations: 0 / 0.5651 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.302, allocations: 0 / 0.5651 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.3023, allocations: 71.88 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3023, allocations: 4 kB / 0.5652 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.3025, allocations: 23.97 kB / 0.5652 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3026, allocations: 15.98 kB / 0.5652 GB, free: 13.82 MB / 414.1 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 (19): * Single equations (assignments): 19 * 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 0.0001229/0.3027, allocations: 121.8 kB / 0.5653 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3027, allocations: 7.953 kB / 0.5654 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.304, allocations: 0.5435 MB / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.304, allocations: 4 kB / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.304, allocations: 3.984 kB / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.304, allocations: 0 / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.306, allocations: 0.8885 MB / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.306, allocations: 0 / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.3063, allocations: 72.34 kB / 0.5668 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3063, allocations: 0 / 0.5668 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3064, allocations: 16 kB / 0.5668 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3064, allocations: 4.25 kB / 0.5669 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3064, allocations: 4.188 kB / 0.5669 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.3073, allocations: 476.2 kB / 0.5673 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.3074, allocations: 89.05 kB / 0.5674 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3074, allocations: 4 kB / 0.5674 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3076, allocations: 15.98 kB / 0.5674 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.3076, allocations: 19.98 kB / 0.5674 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3076, allocations: 15.98 kB / 0.5674 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.3077, allocations: 83.27 kB / 0.5675 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3077, allocations: 3.938 kB / 0.5675 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008556/0.3085, allocations: 323.5 kB / 0.5678 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002417/0.311, allocations: 1.119 MB / 0.5689 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008202/0.3118, allocations: 326.1 kB / 0.5692 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3118, allocations: 0 / 0.5692 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.3121, allocations: 147.8 kB / 0.5694 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3124, allocations: 8 kB / 0.5694 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3141, allocations: 0.4997 MB / 0.5699 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3144, allocations: 0.6926 MB / 0.5706 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.3147, allocations: 96.88 kB / 0.5706 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3149, allocations: 59.41 kB / 0.5707 GB, free: 7.945 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3149, allocations: 0 / 0.5707 GB, free: 7.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.3583, allocations: 19.05 MB / 0.5893 GB, free: 4.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.677, allocations: 3.938 kB / 0.5893 GB, free: 4.965 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.169069848998333]