Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0008275/0.0008275, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00163/0.00163, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9263/0.9263, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.724/0.724, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.232e-05, allocations: 7 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001352/0.001374, allocations: 0.6853 MB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002388, allocations: 0.8899 MB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.002424, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.002453, allocations: 3.938 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.002519, allocations: 7.984 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.002684, allocations: 23.86 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.002765, allocations: 47.84 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.00286, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.002939, allocations: 27.91 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.002979, allocations: 15.97 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.003003, allocations: 8 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.003012, allocations: 4 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.003031, allocations: 7.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.003055, allocations: 11.98 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.003144, allocations: 39.88 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003147, allocations: 0 / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003149, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003153, allocations: 0 / 0.6199 GB, free: 11.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003636/0.003517, allocations: 290.2 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.003556, allocations: 12.03 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.003588, allocations: 34.69 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.003612, allocations: 8.891 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.003697, allocations: 113.8 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.003707, allocations: 384 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.003715, allocations: 384 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.003882, allocations: 78.19 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.00389, allocations: 192 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.003897, allocations: 384 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003903, allocations: 4.125 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.004047, allocations: 67.92 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.004348, allocations: 232 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.004471, allocations: 54.53 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.004545, allocations: 36.92 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.004566, allocations: 7.938 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.004586, allocations: 30.56 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004587, allocations: 0 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003099/0.004897, allocations: 129.5 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.004929, allocations: 55.34 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.004991, allocations: 113.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005002, allocations: 25.7 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.005042, allocations: 92.09 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.005061, allocations: 15.88 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.00509, allocations: 17.72 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.005163, allocations: 310.8 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.005238, allocations: 31.95 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.005303, allocations: 35.97 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.005435, allocations: 68.78 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005437, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001734/0.00561, allocations: 109.5 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.005625, allocations: 11.94 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.005629, allocations: 0 / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.005643, allocations: 4 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.00573, allocations: 19.97 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005735, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.005771, allocations: 11.98 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005777, allocations: 0 / 0.6218 GB, free: 9.609 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): 3 * 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.745e-05/0.005834, allocations: 110.8 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.005847, allocations: 7.938 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.005874, allocations: 8 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005876, allocations: 0 / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.005881, allocations: 4 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005884, allocations: 3.984 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.005992, allocations: 132.8 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005992, allocations: 0 / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.006035, allocations: 19.86 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006037, allocations: 4.328 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006043, allocations: 0 / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006044, allocations: 4 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006045, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.006235, allocations: 195.4 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.006249, allocations: 7.938 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.006259, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.006311, allocations: 15.98 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.006348, allocations: 3.984 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.006352, allocations: 8 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.006381, allocations: 83.28 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006381, allocations: 0 / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001534/0.006535, allocations: 8 kB / 0.6224 GB, free: 8.934 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): 3 * 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.0003882/0.006923, allocations: 0.7279 MB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.007106, allocations: 71.86 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007108, allocations: 0 / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.007181, allocations: 43.89 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.007424, allocations: 4 kB / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.007784, allocations: 150.6 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.007827, allocations: 75.22 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.00785, allocations: 0 / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.007892, allocations: 20.48 kB / 0.6235 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.007893, allocations: 0 / 0.6235 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.02377, allocations: 2.37 MB / 0.6258 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/6.903, allocations: 6.234 kB / 0.6258 GB, free: 5.535 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.747830056585371] Failed to read output from testmodel.py, exit status != 0: 6.986187436617911 7.001624647 6.995319914 Calling exit ...