Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.0009192/0.0009192, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] 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.0008252/0.0008252, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7313/0.7313, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.003e-05, allocations: 2.781 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001071/0.001091, allocations: 0.6046 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.001316, allocations: 91.69 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.001332, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.001346, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.001389, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.001599, allocations: 19.91 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.001649, allocations: 8 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.001688, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.001723, allocations: 11.98 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.001796, allocations: 3.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.001812, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.001882, allocations: 15.98 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.001897, allocations: 3.984 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.001915, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.09e-05/0.002006, allocations: 11.98 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002008, allocations: 0 / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.002009, allocations: 0 / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002013, allocations: 0 / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003339/0.002347, allocations: 246.4 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.002396, allocations: 13.47 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.002434, allocations: 34.75 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.002572, allocations: 8.922 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.00264, allocations: 105.8 kB / 0.6192 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.002664, allocations: 8.312 kB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.002673, allocations: 384 / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.002784, allocations: 38.25 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.002793, allocations: 192 / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.002802, allocations: 384 / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.002808, allocations: 8.125 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.002863, allocations: 11.98 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.00299, allocations: 120.8 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.003105, allocations: 50.53 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.003134, allocations: 12.86 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.003153, allocations: 0 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.003175, allocations: 38.48 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.003177, allocations: 4 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.003345, allocations: 49.69 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.003388, allocations: 59.33 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.696e-05/0.003425, allocations: 93.86 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.003441, allocations: 25.7 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.003467, allocations: 80.14 kB / 0.6198 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.00351, allocations: 15.84 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.003535, allocations: 17.66 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.003619, allocations: 310.8 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.003642, allocations: 11.98 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.003658, allocations: 8 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.00371, allocations: 21.12 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.003713, allocations: 0 / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.788e-05/0.003781, allocations: 53.67 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.003797, allocations: 7.984 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.003802, allocations: 0 / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.003815, allocations: 0 / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.004021, allocations: 47.88 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007619/0.004783, allocations: 1.297 MB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.004797, allocations: 3.984 kB / 0.6216 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004801, allocations: 0 / 0.6216 GB, free: 9.816 MB / 0.5886 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.004868, allocations: 114.8 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-06/0.004871, allocations: 3.938 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.00488, allocations: 7.531 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.004881, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004882, allocations: 8.094 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004885, allocations: 4 kB / 0.6217 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.822e-05/0.004943, allocations: 128.7 kB / 0.6218 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.004944, allocations: 4 kB / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.005094, allocations: 39.94 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.005098, allocations: 11.98 kB / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005105, allocations: 0 / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006084/0.005713, allocations: 1.289 MB / 0.6231 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005714, allocations: 3.938 kB / 0.6231 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.005779, allocations: 81.17 kB / 0.6232 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-06/0.005781, allocations: 3.938 kB / 0.6232 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-06/0.005785, allocations: 4 kB / 0.6232 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.005795, allocations: 0 / 0.6232 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.005811, allocations: 11.86 kB / 0.6232 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005814, allocations: 4 kB / 0.6232 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.953e-05/0.005834, allocations: 75.28 kB / 0.6233 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.1e-08/0.005834, allocations: 4.062 kB / 0.6233 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000125/0.005959, allocations: 4 kB / 0.6233 GB, free: 7.836 MB / 0.5886 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.006201, allocations: 0.6085 MB / 0.6239 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.006454, allocations: 59.92 kB / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006456, allocations: 0 / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.006568, allocations: 39.89 kB / 0.624 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.006822, allocations: 10.12 kB / 0.624 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.007163, allocations: 114 kB / 0.6241 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.007375, allocations: 67.34 kB / 0.6242 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.007398, allocations: 7.953 kB / 0.6242 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.007431, allocations: 8.5 kB / 0.6242 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.007432, allocations: 0 / 0.6242 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.02458, allocations: 1.903 MB / 0.6261 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/7.856, allocations: 7.828 kB / 0.6261 GB, free: 5.086 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.758634905330837] Failed to read output from testmodel.py, exit status != 0: 7.955416561104357 7.965801241 7.961875321 Calling exit ...