Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.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.0009219/0.0009219, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008817/0.0008817, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9633/0.9633, allocations: 230.6 MB / 256 MB, free: 9.797 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.7954/0.7954, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",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.00092/0.00092, allocations: 72.2 kB / 0.7183 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5743, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001707/0.576, allocations: 0.663 MB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.577, allocations: 0.833 MB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.577, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.5771, allocations: 3.938 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.5772, allocations: 5.516 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.5774, allocations: 10.59 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.5775, allocations: 25.8 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.5776, allocations: 8.797 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.5777, allocations: 8.656 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.5778, allocations: 12.69 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.5778, allocations: 2.688 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.5778, allocations: 4.344 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.5778, allocations: 4.656 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.5779, allocations: 5.297 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.578, allocations: 29.75 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.578, allocations: 4 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.015e-06/0.578, allocations: 0 / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.578, allocations: 4 kB / 0.8195 GB, free: 120 kB / 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.0004421/0.5785, allocations: 254.6 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.5785, allocations: 10.78 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.5786, allocations: 39.81 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.5786, allocations: 0.9375 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.322e-05/0.5787, allocations: 116.4 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5787, allocations: 0.9375 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5787, allocations: 4.359 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5788, allocations: 52.41 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5789, allocations: 5.969 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.5789, allocations: 0 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5789, allocations: 0 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.579, allocations: 32.91 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.5793, allocations: 216.1 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.843e-05/0.5794, allocations: 44.06 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.5794, allocations: 23.11 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.5795, allocations: 2.656 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5795, allocations: 35.02 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.5795, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002522/0.5797, allocations: 87.36 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.5798, allocations: 55.89 kB / 0.8204 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.5799, allocations: 95.97 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5799, allocations: 26.27 kB / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.5799, allocations: 84.8 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.5799, allocations: 4.656 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.58, allocations: 16.27 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.5801, allocations: 319.4 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.5801, allocations: 12.8 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.5801, allocations: 20.36 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.5802, allocations: 39.3 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.5802, allocations: 8 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.5804, allocations: 74.38 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5804, allocations: 3.625 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5804, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5804, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.5805, allocations: 9.469 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5805, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.5805, allocations: 5.875 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5805, allocations: 5.156 kB / 0.8211 GB, free: 14.56 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 (2): * Single equations (assignments): 2 * 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 6.207e-05/0.5806, allocations: 118.2 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.5806, allocations: 0 / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.5806, allocations: 7.781 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5806, allocations: 2.625 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5806, allocations: 0 / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5806, allocations: 0 / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.5807, allocations: 130.9 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5807, allocations: 0.6094 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.5808, allocations: 13.33 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5808, allocations: 0.5625 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.5808, allocations: 4 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5808, allocations: 7.125 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5808, allocations: 0.6562 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.581, allocations: 160.9 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.581, allocations: 11.03 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.581, allocations: 0.5625 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.581, allocations: 5.359 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.5811, allocations: 3.781 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5811, allocations: 192 / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.5811, allocations: 87.14 kB / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5811, allocations: 4.5 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001467/0.5812, allocations: 4.469 kB / 0.8217 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * 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.0003799/0.5816, allocations: 0.6964 MB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.5818, allocations: 38.84 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5818, allocations: 0 / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.5818, allocations: 21.84 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.5821, allocations: 9.766 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.5825, allocations: 139.4 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.5827, allocations: 0.6749 MB / 0.8232 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.5827, allocations: 2.047 kB / 0.8232 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.5828, allocations: 17.16 kB / 0.8232 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5828, allocations: 0 / 0.8232 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.5999, allocations: 1.379 MB / 0.8246 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/6.968, allocations: 8.859 kB / 0.8246 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt_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_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.040297338971868] Failed to read output from testmodel.py, exit status != 0: 7.04703458212316 7.061443735 6.480398225 Calling exit ...