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.001064/0.001064, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009951/0.0009951, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9508/0.9508, allocations: 230.6 MB / 256 MB, free: 9.582 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.7743/0.7743, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.00136/0.00136, allocations: 65.45 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5261, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001424/0.5275, allocations: 0.6567 MB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.5282, allocations: 0.8316 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.5282, allocations: 0 / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.5283, allocations: 0.75 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.5283, allocations: 7.938 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.5285, allocations: 6.281 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.5285, allocations: 23.17 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5287, allocations: 9.688 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.5287, allocations: 11.09 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.5288, allocations: 9.156 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.5288, allocations: 5.062 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.5288, allocations: 4 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.5288, allocations: 0.5625 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.5288, allocations: 13.72 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.56e-05/0.5289, allocations: 24.25 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5289, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5289, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5289, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 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.000361/0.5293, allocations: 261.3 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5293, allocations: 11.75 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.5294, allocations: 31.41 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.5294, allocations: 4.938 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.5295, allocations: 119 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5295, allocations: 384 / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.5295, allocations: 2.391 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5296, allocations: 50.09 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5296, allocations: 3.938 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.5297, allocations: 0 / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5297, allocations: 2.719 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.5297, allocations: 30.23 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.53, allocations: 223.3 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.437e-05/0.5301, allocations: 41.17 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.5302, allocations: 18.25 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5302, allocations: 3.016 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.5302, allocations: 31.27 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.5302, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.5304, allocations: 87.98 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5305, allocations: 51.41 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.5305, allocations: 107.9 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.5305, allocations: 25.7 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.5306, allocations: 80.8 kB / 0.8205 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.5306, allocations: 6.875 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.5306, allocations: 19.09 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.5307, allocations: 314.2 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.5307, allocations: 23.72 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.5308, allocations: 12.86 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.828e-05/0.5308, allocations: 36.62 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5308, allocations: 4.562 kB / 0.8209 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.5309, allocations: 71.73 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.531, allocations: 8.922 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.531, allocations: 0 / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.531, allocations: 1.594 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.531, allocations: 14.66 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.531, allocations: 0.75 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.5311, allocations: 3.203 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.5311, allocations: 2.578 kB / 0.821 GB, free: 14.36 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 5.301e-05/0.5311, allocations: 111.3 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.5311, allocations: 2.625 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.5312, allocations: 12.02 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5312, allocations: 2.812 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5312, allocations: 0 / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5312, allocations: 0.7031 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.5313, allocations: 131.7 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5313, allocations: 0 / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.5313, allocations: 9 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5313, allocations: 5.109 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.5313, allocations: 7.938 kB / 0.8213 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5313, allocations: 1.859 kB / 0.8213 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5313, allocations: 0 / 0.8213 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5314, allocations: 164.5 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.5315, allocations: 4.562 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.5315, allocations: 2.359 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.5315, allocations: 4.781 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.5315, allocations: 7.688 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.5315, allocations: 0 / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.5316, allocations: 81.66 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5316, allocations: 0 / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001345/0.5317, allocations: 6.875 kB / 0.8216 GB, free: 13.84 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.0003581/0.532, allocations: 0.7019 MB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.5322, allocations: 34.98 kB / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5322, allocations: 0 / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.5322, allocations: 24.56 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.5325, allocations: 3.188 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.5329, allocations: 142.1 kB / 0.8224 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.533, allocations: 60.91 kB / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.533, allocations: 0.5156 kB / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.533, allocations: 12.05 kB / 0.8225 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.533, allocations: 0 / 0.8225 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5489, allocations: 1.803 MB / 0.8243 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/7.139, allocations: 10.3 kB / 0.8243 GB, free: 12.07 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.119909598957747] Failed to read output from testmodel.py, exit status != 0: 7.216253228019923 7.229492101 6.697724072 Calling exit ...