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.000837/0.000837, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.001211/0.001211, allocations: 212 kB / 22.25 MB, free: 3.578 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.9302/0.9302, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.7955/0.7955, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000902/0.000902, allocations: 72.86 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5043, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00139/0.5057, allocations: 0.5905 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.506, allocations: 92.78 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.506, allocations: 0 / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.506, allocations: 4 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.506, allocations: 3.938 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.5063, allocations: 15.17 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.5063, allocations: 5.375 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.5063, allocations: 2.859 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.089e-05/0.5064, allocations: 6.797 kB / 0.8185 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.5064, allocations: 6.297 kB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.5065, allocations: 1.406 kB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.5065, allocations: 20.44 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.5065, allocations: 4 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.5065, allocations: 0.5156 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.5066, allocations: 21.8 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5066, allocations: 0.6094 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5067, allocations: 5.375 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5067, allocations: 0 / 0.8186 GB, free: 0.5781 MB / 0.6042 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.0002486/0.5069, allocations: 242.9 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.507, allocations: 10.66 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.581e-05/0.507, allocations: 34.73 kB / 0.8189 GB, free: 284 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.5071, allocations: 16.61 kB / 0.8189 GB, free: 276 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.035e-05/0.5072, allocations: 109.6 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5072, allocations: 3.344 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.5072, allocations: 384 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5073, allocations: 40.12 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.5073, allocations: 3.938 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.5073, allocations: 0 / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5073, allocations: 3.531 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.5074, allocations: 15.31 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.5075, allocations: 126.1 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.5076, allocations: 46.03 kB / 0.8192 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.5077, allocations: 10.72 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.5077, allocations: 0.75 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5077, allocations: 38.03 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5077, allocations: 0 / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001812/0.5079, allocations: 62.61 kB / 0.8193 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.5079, allocations: 51.41 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.539e-05/0.508, allocations: 91.58 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.508, allocations: 29.7 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.508, allocations: 80.14 kB / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.508, allocations: 11.64 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5081, allocations: 18.23 kB / 0.8196 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.5081, allocations: 315.4 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.5082, allocations: 5.562 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.5082, allocations: 5.641 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.5082, allocations: 25.97 kB / 0.8199 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5083, allocations: 0 / 0.8199 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.048e-05/0.5083, allocations: 57.47 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5083, allocations: 8.312 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5083, allocations: 3.938 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5084, allocations: 0 / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.5086, allocations: 42.59 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/0.5094, allocations: 1.305 MB / 0.8213 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.5094, allocations: 4.969 kB / 0.8213 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.5094, allocations: 4 kB / 0.8213 GB, free: 13.8 MB / 0.6198 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 5.983e-05/0.5095, allocations: 114.3 kB / 0.8214 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.5095, allocations: 8.281 kB / 0.8214 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.048e-05/0.5095, allocations: 8.328 kB / 0.8214 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5095, allocations: 0 / 0.8214 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.5095, allocations: 0 / 0.8214 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5095, allocations: 0.6094 kB / 0.8215 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.5096, allocations: 125.7 kB / 0.8216 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5096, allocations: 0 / 0.8216 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.5098, allocations: 51.67 kB / 0.8216 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5098, allocations: 0 / 0.8216 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5098, allocations: 0.7031 kB / 0.8216 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006863/0.5105, allocations: 1.306 MB / 0.8229 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5105, allocations: 0 / 0.8229 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.639e-05/0.5105, allocations: 75.45 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-06/0.5105, allocations: 4.156 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-06/0.5105, allocations: 4.5 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.5106, allocations: 3.5 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.5106, allocations: 5.781 kB / 0.823 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.5106, allocations: 6.891 kB / 0.823 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.116e-05/0.5106, allocations: 77.58 kB / 0.8231 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-08/0.5106, allocations: 0 / 0.8231 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001308/0.5107, allocations: 3.188 kB / 0.8231 GB, free: 12.02 MB / 0.6198 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.0002984/0.511, allocations: 0.6124 MB / 0.8237 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.5113, allocations: 60.03 kB / 0.8237 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5113, allocations: 0 / 0.8237 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5115, allocations: 38.34 kB / 0.8238 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.5116, allocations: 6.812 kB / 0.8238 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.512, allocations: 119.5 kB / 0.8239 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.512, allocations: 58.73 kB / 0.8239 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.512, allocations: 4.547 kB / 0.8239 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.5121, allocations: 12.56 kB / 0.824 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5121, allocations: 4 kB / 0.824 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.5286, allocations: 1.756 MB / 0.8257 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.124, allocations: 8.938 kB / 0.8257 GB, free: 10.32 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.986663506366313] Failed to read output from testmodel.py, exit status != 0: 8.206448169890791 8.219682291 7.710797863 Calling exit ...