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.001171/0.001171, allocations: 105.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.001011/0.001011, allocations: 208.1 kB / 22.25 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.9868/0.9868, allocations: 230.6 MB / 256 MB, free: 9.586 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.8026/0.8026, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.000977/0.000977, allocations: 76.69 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.5308, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001553/0.5324, allocations: 0.6607 MB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.5331, allocations: 0.8282 MB / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.5331, allocations: 4 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.5332, allocations: 0 / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.5332, allocations: 5.75 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.5334, allocations: 8.25 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.5335, allocations: 22.92 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5336, allocations: 5.453 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.5336, allocations: 5.828 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.5337, allocations: 12.53 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.5337, allocations: 6.078 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.5337, allocations: 3.281 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5337, allocations: 0.9844 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.5337, allocations: 16.19 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.5338, allocations: 23.58 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5338, allocations: 0.75 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5338, allocations: 0 / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5338, allocations: 0 / 0.8194 GB, free: 15.95 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.0003444/0.5342, allocations: 261.9 kB / 0.8196 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5342, allocations: 12.97 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.5342, allocations: 30.75 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.5343, allocations: 2.125 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.5343, allocations: 124.2 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5344, allocations: 1.125 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.5344, allocations: 384 / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.5345, allocations: 49.66 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5345, allocations: 3.938 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.5345, allocations: 0 / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5345, allocations: 1.969 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.5346, allocations: 32.23 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.5349, allocations: 217.2 kB / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.535, allocations: 47.45 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.535, allocations: 23.48 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.535, allocations: 0.7031 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5351, allocations: 34.56 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.5351, allocations: 0 / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002231/0.5353, allocations: 85.19 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.5353, allocations: 51.92 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.5354, allocations: 101.4 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.5354, allocations: 25.7 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.5354, allocations: 82.84 kB / 0.8205 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.5354, allocations: 9.078 kB / 0.8205 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.5355, allocations: 13.98 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.5355, allocations: 311.5 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.5356, allocations: 25.2 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.5356, allocations: 16.77 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.5357, allocations: 42.3 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5357, allocations: 3.938 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.5358, allocations: 73.89 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5358, allocations: 5.016 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5358, allocations: 5.156 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5358, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.5359, allocations: 9.406 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5359, allocations: 1.625 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.5359, allocations: 6.688 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.5359, allocations: 0 / 0.821 GB, free: 14.39 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.083e-05/0.536, allocations: 113.9 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.536, allocations: 0 / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.536, allocations: 12.02 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.536, allocations: 4.062 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.536, allocations: 4 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.536, allocations: 0 / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.5361, allocations: 131.7 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.5361, allocations: 0 / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.5361, allocations: 8.609 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5361, allocations: 3.5 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.5361, allocations: 0 / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.5362, allocations: 3.938 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5362, allocations: 0 / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5363, allocations: 163.9 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.5363, allocations: 8.875 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.5363, allocations: 0 / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.5363, allocations: 8.562 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.5364, allocations: 1.641 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.5364, allocations: 7.875 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.5364, allocations: 79.2 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5364, allocations: 0 / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001349/0.5365, allocations: 2.688 kB / 0.8216 GB, free: 13.87 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.0003103/0.5368, allocations: 0.6985 MB / 0.8222 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.537, allocations: 35.95 kB / 0.8223 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.537, allocations: 0 / 0.8223 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.537, allocations: 19.52 kB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5372, allocations: 10.58 kB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.5375, allocations: 145.3 kB / 0.8224 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.5376, allocations: 59.64 kB / 0.8225 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.5376, allocations: 1.156 kB / 0.8225 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.5376, allocations: 9.297 kB / 0.8225 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.5376, allocations: 0 / 0.8225 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.5518, allocations: 1.814 MB / 0.8243 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/7.032, allocations: 7.609 kB / 0.8243 GB, free: 12.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.022836475633085] Failed to read output from testmodel.py, exit status != 0: 7.1091034593991935 7.122751562 6.586576037 Calling exit ...