Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009609/0.0009609, 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.001826/0.001826, allocations: 169.9 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.9153/0.9153, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7074/0.7074, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.075e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00123/0.00125, allocations: 0.6877 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.00201, allocations: 0.8899 MB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.002042, allocations: 0 / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002068, allocations: 3.938 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.002128, allocations: 15.92 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.00228, allocations: 19.92 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.00235, allocations: 39.91 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.00244, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.002513, allocations: 27.91 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.00255, allocations: 15.97 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.002574, allocations: 7.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002583, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.002598, allocations: 7.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.002621, allocations: 11.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.601e-05/0.002707, allocations: 43.81 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002709, allocations: 4 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00271, allocations: 0 / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002715, allocations: 0 / 0.6199 GB, free: 11.89 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.0003808/0.003096, allocations: 282.2 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.003144, allocations: 13.47 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.003173, allocations: 34.75 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.003195, allocations: 8.891 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.003278, allocations: 109.7 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.003289, allocations: 4.375 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.003297, allocations: 4.375 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.003471, allocations: 74.2 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.00348, allocations: 4.125 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003489, allocations: 384 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003495, allocations: 4.125 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.003644, allocations: 71.91 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.003958, allocations: 224 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.004088, allocations: 58.53 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.004164, allocations: 32.92 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.004186, allocations: 11.88 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004205, allocations: 30.56 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004206, allocations: 0 / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003146/0.004521, allocations: 129.6 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.00455, allocations: 51.41 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.004613, allocations: 113.8 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.004622, allocations: 25.7 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.004657, allocations: 88.09 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.004674, allocations: 11.94 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.004702, allocations: 21.66 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.004771, allocations: 318.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.004854, allocations: 39.83 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.004919, allocations: 31.97 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.005059, allocations: 68.78 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005061, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001632/0.005224, allocations: 101.5 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005235, allocations: 8 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00524, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.00525, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.005333, allocations: 23.97 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005337, allocations: 0 / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.005373, allocations: 7.984 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.005379, allocations: 7.938 kB / 0.6218 GB, free: 9.719 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.465e-05/0.005434, allocations: 110.8 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.005448, allocations: 7.938 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.005472, allocations: 4 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005474, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.005478, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005481, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.005591, allocations: 144.7 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005592, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.005636, allocations: 15.92 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005638, allocations: 0 / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.005645, allocations: 4 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005646, allocations: 0 / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005647, allocations: 0 / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.005847, allocations: 199.8 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.005855, allocations: 11.88 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.005865, allocations: 0 / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.005917, allocations: 11.98 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.005954, allocations: 8.016 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005956, allocations: 0 / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.005987, allocations: 87.28 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005987, allocations: 0 / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001478/0.006134, allocations: 8 kB / 0.6224 GB, free: 9.039 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.0003955/0.00653, allocations: 0.7318 MB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.006728, allocations: 67.86 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.00673, allocations: 3.938 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.006809, allocations: 43.95 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.00706, allocations: 10.52 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.007424, allocations: 146.6 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.007469, allocations: 75.22 kB / 0.6234 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.007494, allocations: 4 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.007537, allocations: 20.48 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.007537, allocations: 0 / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.02394, allocations: 2.369 MB / 0.6258 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.934, allocations: 5.062 kB / 0.6258 GB, free: 5.637 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.701104924082756] Failed to read output from testmodel.py, exit status != 0: 7.015347170643508 7.029772564 7.024124636 Calling exit ...