Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.000759/0.000759, 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.0007753/0.0007753, 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.8927/0.8927, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.717/0.717, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.17e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00138/0.001422, allocations: 0.6326 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.002251, allocations: 0.8237 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.002287, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.742e-05/0.002365, allocations: 3.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.755e-05/0.002382, allocations: 3.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.155e-05/0.002474, allocations: 11.98 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.002539, allocations: 23.92 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.002627, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.002685, allocations: 15.97 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.002728, allocations: 8 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.002745, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-06/0.00275, allocations: 4 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.002795, allocations: 11.92 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.002817, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.121e-05/0.002888, allocations: 35.83 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002891, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002892, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002895, allocations: 3.938 kB / 0.6196 GB, free: 12.08 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.0002834/0.003179, allocations: 262.3 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.003229, allocations: 12.03 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.003255, allocations: 42.73 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.495e-05/0.00327, allocations: 0.9375 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.00337, allocations: 109.8 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.003378, allocations: 4.375 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.003386, allocations: 4.375 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.003495, allocations: 54.23 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.0035, allocations: 192 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003507, allocations: 384 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003511, allocations: 4.125 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.003597, allocations: 43.89 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.00386, allocations: 244 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.003919, allocations: 34.48 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.00396, allocations: 20.91 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.003969, allocations: 3.938 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.003988, allocations: 34.56 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.003989, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000179/0.004168, allocations: 81.62 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.004196, allocations: 55.41 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.004243, allocations: 93.86 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004253, allocations: 29.7 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.004289, allocations: 92.08 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.004301, allocations: 0 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.004323, allocations: 13.72 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.004393, allocations: 322.9 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.00443, allocations: 11.98 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.004467, allocations: 19.91 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.004535, allocations: 36.83 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004537, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.083e-05/0.004627, allocations: 77.55 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.004637, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.00464, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.004646, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.004686, allocations: 11.98 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004689, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.004709, allocations: 4.25 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.004711, allocations: 0 / 0.6213 GB, free: 10.19 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 (1): * Single equations (assignments): 1 * 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.135e-05/0.004763, allocations: 118.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.004775, allocations: 11.91 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.004792, allocations: 11.11 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004793, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.004797, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004799, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.769e-05/0.004897, allocations: 132.7 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004898, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.004917, allocations: 7.984 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004918, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.004924, allocations: 4 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004925, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004925, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.005042, allocations: 155.5 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.005049, allocations: 7.953 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.005058, allocations: 4 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.005093, allocations: 7.984 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.005123, allocations: 0 / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.005124, allocations: 0 / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.005153, allocations: 83.22 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.005153, allocations: 4.031 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001384/0.005292, allocations: 4 kB / 0.6218 GB, free: 9.574 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 (1): * Single equations (assignments): 1 * 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.0002904/0.005582, allocations: 0.6929 MB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.005694, allocations: 27.97 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005696, allocations: 4.094 kB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.005736, allocations: 19.92 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.005941, allocations: 2.031 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.006858, allocations: 1.241 MB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.006906, allocations: 67.34 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.006932, allocations: 4 kB / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.006965, allocations: 8.5 kB / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.006966, allocations: 0 / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.02358, allocations: 1.966 MB / 0.6258 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/6.505, allocations: 5.297 kB / 0.6258 GB, free: 5.555 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.138761443085968] Failed to read output from testmodel.py, exit status != 0: 6.585799568332732 6.597825807 6.593160936 Calling exit ...