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.001346/0.001346, allocations: 72.45 kB / 19.03 MB, free: 1.109 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.001468/0.001468, allocations: 163.8 kB / 22.29 MB, free: 3.523 MB / 13.93 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 1.383/1.383, allocations: 177.2 MB / 202.7 MB, free: 4.832 MB / 186.7 MB " [Timeout remaining time 178] 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 1.237/1.237, allocations: 154.7 MB / 413.8 MB, free: 3.188 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: 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.003199/0.003199, allocations: 67.52 kB / 0.6181 GB, free: 1.148 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2281, allocations: 102 MB / 0.7176 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001882/0.23, allocations: 0.6273 MB / 0.7183 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2311, allocations: 0.8163 MB / 0.719 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.2311, allocations: 0 / 0.719 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2312, allocations: 3.984 kB / 0.7191 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.297e-05/0.2312, allocations: 3.938 kB / 0.7191 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2314, allocations: 12 kB / 0.7191 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.2314, allocations: 23.92 kB / 0.7191 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2316, allocations: 15.92 kB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.2316, allocations: 15.94 kB / 0.7191 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.2317, allocations: 15.91 kB / 0.7191 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2317, allocations: 0 / 0.7191 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.2317, allocations: 4 kB / 0.7191 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.2318, allocations: 11.98 kB / 0.7192 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2318, allocations: 7.938 kB / 0.7192 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.2319, allocations: 27.89 kB / 0.7192 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2319, allocations: 0 / 0.7192 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2319, allocations: 4 kB / 0.7192 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.2319, allocations: 0 / 0.7192 GB, free: 9.68 MB / 0.6198 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.0005548/0.2325, allocations: 274.2 kB / 0.7195 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2325, allocations: 12.03 kB / 0.7195 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.2326, allocations: 30.75 kB / 0.7195 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.2326, allocations: 4.891 kB / 0.7195 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2328, allocations: 110.5 kB / 0.7196 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2328, allocations: 8.375 kB / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.2328, allocations: 384 / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.233, allocations: 58.23 kB / 0.7197 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.233, allocations: 7.922 kB / 0.7197 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2331, allocations: 0 / 0.7197 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2331, allocations: 0 / 0.7197 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2332, allocations: 43.89 kB / 0.7197 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.2337, allocations: 236 kB / 0.7199 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2338, allocations: 34.56 kB / 0.72 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.2339, allocations: 20.91 kB / 0.72 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2339, allocations: 0 / 0.72 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2339, allocations: 42.5 kB / 0.72 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.2339, allocations: 0 / 0.72 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003439/0.2343, allocations: 77.58 kB / 0.7201 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2343, allocations: 51.41 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.2344, allocations: 102 kB / 0.7203 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2344, allocations: 33.7 kB / 0.7203 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2345, allocations: 92.02 kB / 0.7204 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2345, allocations: 0 / 0.7204 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.2346, allocations: 17.72 kB / 0.7204 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2347, allocations: 318.8 kB / 0.7207 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.2348, allocations: 11.98 kB / 0.7207 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.2349, allocations: 15.98 kB / 0.7207 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.235, allocations: 48.81 kB / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.235, allocations: 0 / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001818/0.2352, allocations: 57.67 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2352, allocations: 9.656 kB / 0.7208 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2352, allocations: 0 / 0.7208 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2352, allocations: 0 / 0.7208 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.2353, allocations: 12.23 kB / 0.7208 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2353, allocations: 4.031 kB / 0.7208 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.2354, allocations: 11.98 kB / 0.7209 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2354, allocations: 0 / 0.7209 GB, free: 7.773 MB / 0.6198 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 9.805e-05/0.2355, allocations: 113.8 kB / 0.721 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.2355, allocations: 3.953 kB / 0.721 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.2355, allocations: 3.156 kB / 0.721 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2355, allocations: 0 / 0.721 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2355, allocations: 0 / 0.721 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2355, allocations: 3.938 kB / 0.721 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.2358, allocations: 136.7 kB / 0.7211 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2358, allocations: 7.984 kB / 0.7211 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.2359, allocations: 4 kB / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2359, allocations: 0 / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2359, allocations: 4 kB / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2359, allocations: 0 / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2359, allocations: 0 / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.2361, allocations: 155.5 kB / 0.7213 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.2361, allocations: 4 kB / 0.7213 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.2361, allocations: 7.969 kB / 0.7213 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.2362, allocations: 7.984 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2362, allocations: 0 / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.2362, allocations: 0 / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.2363, allocations: 87.27 kB / 0.7214 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2363, allocations: 0 / 0.7214 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002168/0.2365, allocations: 4 kB / 0.7214 GB, free: 7.176 MB / 0.6198 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.000585/0.2371, allocations: 0.7006 MB / 0.7221 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2373, allocations: 27.97 kB / 0.7221 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2373, allocations: 0 / 0.7221 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.2374, allocations: 23.91 kB / 0.7221 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2377, allocations: 2.062 kB / 0.7221 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2392, allocations: 1.237 MB / 0.7233 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.2392, allocations: 63.34 kB / 0.7234 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.2393, allocations: 0 / 0.7234 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.2393, allocations: 16.48 kB / 0.7234 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2393, allocations: 0 / 0.7234 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.2701, allocations: 1.946 MB / 0.7253 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.42, allocations: 5.234 kB / 0.7253 GB, free: 3.145 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.35866380299558] Failed to read output from testmodel.py, exit status != 0: 11.531362831010483 11.548095269 11.312775322 Calling exit ...