Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0008028/0.0008028, 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.0008655/0.0008655, allocations: 165.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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7419/0.7419, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/2.027e-05, allocations: 8.172 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001109/0.001129, allocations: 0.5685 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.421e-05/0.001173, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.001203, allocations: 3.938 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.001234, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.001268, allocations: 3.938 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.205e-05/0.0013, allocations: 0 / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.001361, allocations: 11.97 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.001409, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.00144, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.001458, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.001477, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.00148, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.001493, allocations: 4 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.001511, allocations: 7.938 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.704e-05/0.001578, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00158, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.81e-07/0.001581, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.001585, allocations: 0 / 0.6187 GB, free: 13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002301/0.001815, allocations: 234.5 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.001854, allocations: 12.03 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.001881, allocations: 30.75 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.001898, allocations: 0.9375 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.177e-05/0.00197, allocations: 109.8 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.001979, allocations: 384 / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.001987, allocations: 4.375 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.002061, allocations: 34.23 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.002069, allocations: 4.125 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.002076, allocations: 384 / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.002082, allocations: 4.125 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.002097, allocations: 4 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.002336, allocations: 346.6 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.002398, allocations: 165.1 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.002428, allocations: 92.06 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.002451, allocations: 79.28 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.002489, allocations: 113.8 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.00249, allocations: 0 / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.971e-05/0.00254, allocations: 25.7 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.002581, allocations: 130.7 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.002641, allocations: 89.86 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.002649, allocations: 29.7 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.00267, allocations: 80.14 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.002672, allocations: 0 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.002689, allocations: 13.84 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.002763, allocations: 318.8 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.00277, allocations: 15.81 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.002774, allocations: 0 / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.002794, allocations: 75.28 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/0.002813, allocations: 75.28 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.406e-05/0.002847, allocations: 33.64 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.002873, allocations: 79.28 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.002892, allocations: 79.22 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.002935, allocations: 154.6 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.002952, allocations: 75.28 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.002987, allocations: 162.5 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.003028, allocations: 79.28 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.003047, allocations: 83.22 kB / 0.6215 GB, free: 10.02 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 (0): * Single equations (assignments): 0 * 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 8.281e-05/0.00313, allocations: 260.3 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.003166, allocations: 112.9 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.003201, allocations: 112.2 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.003241, allocations: 184.4 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.00328, allocations: 180.3 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/0.003319, allocations: 184.2 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.003456, allocations: 372.3 kB / 0.6228 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.003478, allocations: 105 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.003504, allocations: 112.9 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-05/0.003545, allocations: 184.2 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.003584, allocations: 180.2 kB / 0.6233 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.896e-05/0.003623, allocations: 176.3 kB / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.502e-05/0.003668, allocations: 184.2 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.003752, allocations: 303.8 kB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.003781, allocations: 108.9 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.003827, allocations: 184.2 kB / 0.6243 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.003871, allocations: 105 kB / 0.6244 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.003914, allocations: 184.2 kB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.003939, allocations: 109 kB / 0.6246 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.003964, allocations: 75.28 kB / 0.6247 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.003964, allocations: 0 / 0.6247 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001567/0.004121, allocations: 4 kB / 0.6247 GB, free: 6.477 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 (0): * Single equations (assignments): 0 * 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.0004207/0.004541, allocations: 0.8008 MB / 0.6255 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.293e-05/0.004574, allocations: 4 kB / 0.6255 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.004576, allocations: 7.938 kB / 0.6255 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.004579, allocations: 4.094 kB / 0.6255 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.004805, allocations: 455.6 kB / 0.6259 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.005518, allocations: 1.529 MB / 0.6274 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.005549, allocations: 55.34 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.061e-06/0.005555, allocations: 3.938 kB / 0.6275 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.005576, allocations: 8.5 kB / 0.6275 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.005577, allocations: 4 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.01912, allocations: 1.541 MB / 0.629 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/6.825, allocations: 12.44 kB / 0.629 GB, free: 2.07 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.592293824069202] Failed to read output from testmodel.py, exit status != 0: 6.905393595807254 6.913335245 6.910129839 Calling exit ...