Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007983/0.0007983, 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.0007822/0.0007822, 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.9079/0.9079, allocations: 177.2 MB / 202.8 MB, free: 5.754 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7416/0.7416, allocations: 154.9 MB / 414.2 MB, free: 0.5117 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.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001486/0.001486, allocations: 67.91 kB / 0.6186 GB, free: 13.27 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.4786/0.4801, allocations: 102 MB / 0.7182 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001934/0.482, allocations: 0.6322 MB / 0.7188 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.483, allocations: 0.8156 MB / 0.7196 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.483, allocations: 1.219 kB / 0.7196 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.4831, allocations: 4.734 kB / 0.7196 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.4832, allocations: 5.031 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.4833, allocations: 7.781 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.4834, allocations: 25.62 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.4836, allocations: 7.094 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.4836, allocations: 15.83 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.4837, allocations: 18.61 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4837, allocations: 2.156 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.4837, allocations: 2.188 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.4838, allocations: 13.53 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.4838, allocations: 7.656 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4839, allocations: 32.92 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4839, allocations: 1.094 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4839, allocations: 0 / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.4839, allocations: 0 / 0.7197 GB, free: 22.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003212/0.4843, allocations: 267.5 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4843, allocations: 15.94 kB / 0.72 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.4843, allocations: 36.58 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.4844, allocations: 3.125 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4845, allocations: 111.8 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4845, allocations: 5.781 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.4845, allocations: 1.906 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4846, allocations: 61.53 kB / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.4846, allocations: 3.938 kB / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.4846, allocations: 1.125 kB / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4846, allocations: 0 / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.4847, allocations: 47.58 kB / 0.7203 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.485, allocations: 238.5 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.4851, allocations: 36.83 kB / 0.7205 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.4851, allocations: 18.38 kB / 0.7206 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.4852, allocations: 1.438 kB / 0.7206 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4852, allocations: 36.25 kB / 0.7206 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.4852, allocations: 4 kB / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002339/0.4854, allocations: 76.86 kB / 0.7207 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4854, allocations: 56.62 kB / 0.7207 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.4855, allocations: 102.7 kB / 0.7208 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.4855, allocations: 25.7 kB / 0.7208 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.4855, allocations: 87.64 kB / 0.7209 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.4856, allocations: 0 / 0.7209 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.4856, allocations: 20.84 kB / 0.721 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.4856, allocations: 317.1 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.4857, allocations: 13.58 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.4857, allocations: 18.48 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.4858, allocations: 36.47 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4858, allocations: 0 / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001073/0.4859, allocations: 68.06 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4859, allocations: 5.141 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4859, allocations: 1.531 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4859, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.486, allocations: 7.75 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.486, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.486, allocations: 11.36 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.486, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 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 4.739e-05/0.4861, allocations: 120.2 kB / 0.7215 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.4861, allocations: 1.406 kB / 0.7215 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.4861, allocations: 7.766 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4861, allocations: 1.922 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4861, allocations: 3.938 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4861, allocations: 0 / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.4862, allocations: 136 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4862, allocations: 0.7031 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.4862, allocations: 11.23 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4862, allocations: 0.9062 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4862, allocations: 4 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4862, allocations: 1.219 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4862, allocations: 4.844 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.4864, allocations: 160.1 kB / 0.7218 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.4864, allocations: 1.969 kB / 0.7218 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.4864, allocations: 5.719 kB / 0.7218 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.4864, allocations: 6.062 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.4865, allocations: 2.422 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4865, allocations: 4.031 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.4865, allocations: 86.16 kB / 0.7219 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4865, allocations: 3.938 kB / 0.7219 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001339/0.4866, allocations: 7.953 kB / 0.722 GB, free: 19.95 MB / 0.6355 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.0002385/0.4869, allocations: 0.6865 MB / 0.7226 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.487, allocations: 40.55 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.487, allocations: 1.094 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.487, allocations: 14.09 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4873, allocations: 9.922 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.4881, allocations: 1.226 MB / 0.7239 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.4881, allocations: 61.16 kB / 0.7239 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.4881, allocations: 3.703 kB / 0.7239 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.4882, allocations: 14.47 kB / 0.724 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4882, allocations: 0 / 0.724 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.5058, allocations: 1.946 MB / 0.7259 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/7.198, allocations: 7.641 kB / 0.7259 GB, free: 17.14 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_Routing_Validation_RealScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.119274412980303] Failed to read output from testmodel.py, exit status != 0: 7.277520299889147 7.291816249 6.805053629 Calling exit ...