Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.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.001637/0.001637, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001492/0.001492, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.2389/0.2389, allocations: 46.91 MB / 361.6 MB, free: 4.227 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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",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.002453/0.002453, allocations: 75.88 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3289, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001601/0.3305, allocations: 495.8 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3331, allocations: 1.331 MB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.3331, allocations: 0 / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.3332, allocations: 0 / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.3332, allocations: 0 / 0.5633 GB, free: 2.504 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3349, allocations: 0.5765 MB / 0.5638 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.335, allocations: 7.984 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.335, allocations: 3.984 kB / 0.5638 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.3351, allocations: 4 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.3351, allocations: 4 kB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.3351, allocations: 3.938 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.3523, allocations: 2.538 MB / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3523, allocations: 0 / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3523, allocations: 0 / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.3527, allocations: 163.7 kB / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3527, allocations: 0 / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3527, allocations: 0 / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3527, allocations: 7.938 kB / 0.5665 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003851/0.3531, allocations: 307.8 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3531, allocations: 8.031 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.3532, allocations: 30.75 kB / 0.5668 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.3532, allocations: 0.9375 kB / 0.5668 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.3533, allocations: 106.5 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3533, allocations: 384 / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3533, allocations: 384 / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.3534, allocations: 38.25 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3534, allocations: 7.938 kB / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.3534, allocations: 0 / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3534, allocations: 0 / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.3534, allocations: 3.984 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.3536, allocations: 124.6 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.3536, allocations: 14.58 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.3536, allocations: 8.859 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.3537, allocations: 0 / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.3537, allocations: 68.34 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3537, allocations: 0 / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001897/0.3539, allocations: 67.28 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.354, allocations: 77.11 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.354, allocations: 89.86 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.354, allocations: 25.7 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.3541, allocations: 88.12 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.3541, allocations: 4.125 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3541, allocations: 13.72 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3542, allocations: 314.8 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.3543, allocations: 0 / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.3543, allocations: 4 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.3543, allocations: 56.27 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3543, allocations: 4 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.035e-05/0.3544, allocations: 67.39 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.3544, allocations: 37.73 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3545, allocations: 3.938 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3545, allocations: 0 / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3545, allocations: 0 / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3545, allocations: 7.984 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.3545, allocations: 3.953 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3545, allocations: 0 / 0.568 GB, free: 13.92 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001054/0.3546, allocations: 139.5 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.3546, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.3546, allocations: 10.94 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3546, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3546, allocations: 4 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3546, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3547, allocations: 116.8 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3547, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3547, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3548, allocations: 7.984 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.3548, allocations: 7.875 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3548, allocations: 0 / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3548, allocations: 0 / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.3549, allocations: 94.78 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.3549, allocations: 3.984 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3549, allocations: 3.938 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.3549, allocations: 0 / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.3549, allocations: 4 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.3549, allocations: 0 / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.034e-05/0.355, allocations: 79.31 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.355, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.3553, allocations: 67.86 kB / 0.5685 GB, free: 13.3 MB / 414.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001479/0.3568, allocations: 0.9236 MB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3569, allocations: 63.28 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3569, allocations: 0 / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.3569, allocations: 59.41 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.3571, allocations: 7.125 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.3575, allocations: 134.6 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3578, allocations: 0.6769 MB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.102e-06/0.3578, allocations: 0 / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3578, allocations: 7.438 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3578, allocations: 0 / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3852, allocations: 3.145 MB / 0.5734 GB, free: 8.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.872, allocations: 7.312 kB / 0.5734 GB, free: 8.289 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.860934674739838] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.945567139890045 8.967406822 8.611050929 Calling exit ...