Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0008375/0.0008375, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009871/0.0009871, allocations: 162 kB / 22.43 MB, free: 2.145 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.904/0.904, allocations: 177.2 MB / 202.8 MB, free: 5.762 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.6763/0.6763, allocations: 155 MB / 414.2 MB, free: 484 kB / 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.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.0009125/0.0009125, allocations: 68.31 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4191, allocations: 102 MB / 0.7182 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001672/0.4208, allocations: 0.6422 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.4215, allocations: 0.8194 MB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.4216, allocations: 0 / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.389e-05/0.4216, allocations: 6.812 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.4217, allocations: 7.344 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.345e-05/0.4218, allocations: 8.719 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.4219, allocations: 62.27 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.422, allocations: 14.83 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.4221, allocations: 32.94 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.4222, allocations: 34.72 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.4222, allocations: 7.25 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-06/0.4222, allocations: 3.938 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.4223, allocations: 26.45 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.4223, allocations: 20.42 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4224, allocations: 79.75 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4224, allocations: 0 / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4224, allocations: 0 / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4224, allocations: 0 / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004882/0.4229, allocations: 322.1 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.423, allocations: 12.5 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.423, allocations: 36.59 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.423, allocations: 4.891 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4231, allocations: 129.4 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4232, allocations: 7.484 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.4232, allocations: 3.719 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.4234, allocations: 137.8 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4234, allocations: 3.938 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4234, allocations: 5.469 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4234, allocations: 0 / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.4237, allocations: 128.6 kB / 0.7207 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.4241, allocations: 395.2 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.4242, allocations: 92.05 kB / 0.7212 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4243, allocations: 65.41 kB / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.4243, allocations: 0 / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.4243, allocations: 37.39 kB / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4243, allocations: 0 / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000392/0.4247, allocations: 196.1 kB / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4248, allocations: 79.03 kB / 0.7215 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.4248, allocations: 122.5 kB / 0.7217 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.4248, allocations: 27.56 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.4249, allocations: 98.02 kB / 0.7218 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.4249, allocations: 5.141 kB / 0.7218 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.4249, allocations: 14.02 kB / 0.7218 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.4249, allocations: 318.3 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.425, allocations: 59.12 kB / 0.7222 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.4251, allocations: 66.81 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4253, allocations: 111.5 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4253, allocations: 0 / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.4255, allocations: 137.5 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4255, allocations: 5.656 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4255, allocations: 1 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4256, allocations: 1.031 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.4256, allocations: 25.75 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4256, allocations: 2.031 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.4257, allocations: 18.75 kB / 0.7225 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4257, allocations: 1.844 kB / 0.7225 GB, free: 20.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 4.957e-05/0.4257, allocations: 123.5 kB / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.4258, allocations: 2 kB / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.4258, allocations: 14.92 kB / 0.7226 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4258, allocations: 4.969 kB / 0.7226 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4258, allocations: 5.578 kB / 0.7227 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4258, allocations: 3.938 kB / 0.7227 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4259, allocations: 145.9 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.4259, allocations: 0 / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.426, allocations: 18.58 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.426, allocations: 1.375 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.426, allocations: 0 / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.426, allocations: 1.641 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.426, allocations: 1.062 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4262, allocations: 320.3 kB / 0.7231 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.4262, allocations: 6.891 kB / 0.7231 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.4262, allocations: 5.859 kB / 0.7231 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.4263, allocations: 15.52 kB / 0.7231 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4264, allocations: 14.5 kB / 0.7232 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.4264, allocations: 1.031 kB / 0.7232 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.4264, allocations: 95.17 kB / 0.7233 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4264, allocations: 4.031 kB / 0.7233 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001714/0.4266, allocations: 13.02 kB / 0.7233 GB, free: 19.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003191/0.4269, allocations: 0.8321 MB / 0.7241 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4271, allocations: 110 kB / 0.7242 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4271, allocations: 3.938 kB / 0.7242 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.4272, allocations: 67.22 kB / 0.7243 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4274, allocations: 15.47 kB / 0.7243 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.4285, allocations: 1.583 MB / 0.7258 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.4285, allocations: 88.19 kB / 0.7259 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.4286, allocations: 14.3 kB / 0.7259 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.4286, allocations: 21.27 kB / 0.7259 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4286, allocations: 3.938 kB / 0.7259 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.4421, allocations: 2.55 MB / 0.7284 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/7.089, allocations: 8.516 kB / 0.7284 GB, free: 16.35 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.690257688984275] Failed to read output from testmodel.py, exit status != 0: 7.165525573072955 7.176194484 6.751134182 Calling exit ...