Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.00175/0.00175, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.002363/0.002363, allocations: 168 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.436/1.436, allocations: 177.2 MB / 202.7 MB, free: 4.824 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.262/1.262, allocations: 154.7 MB / 413.8 MB, free: 3.137 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.BooleanScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002058/0.002058, allocations: 65.89 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.2161/0.2181, allocations: 102 MB / 0.7176 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002181/0.2203, allocations: 0.6043 MB / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2223, allocations: 1.136 MB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.2224, allocations: 7.938 kB / 0.7193 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2225, allocations: 7.922 kB / 0.7194 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.2225, allocations: 7.922 kB / 0.7194 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.2231, allocations: 128.7 kB / 0.7195 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.2234, allocations: 87.89 kB / 0.7196 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2235, allocations: 3.938 kB / 0.7196 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2236, allocations: 51.95 kB / 0.7196 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2237, allocations: 27.89 kB / 0.7197 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2237, allocations: 8 kB / 0.7197 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.2238, allocations: 23.98 kB / 0.7197 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.2239, allocations: 4 kB / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.224, allocations: 35.89 kB / 0.7197 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.2242, allocations: 91.73 kB / 0.7198 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2242, allocations: 0 / 0.7198 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2242, allocations: 0 / 0.7198 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2242, allocations: 0 / 0.7198 GB, free: 9.051 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.0005506/0.2248, allocations: 311.8 kB / 0.7201 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2248, allocations: 12.03 kB / 0.7201 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.2248, allocations: 30.75 kB / 0.7201 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.2249, allocations: 8.891 kB / 0.7202 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.2251, allocations: 122.5 kB / 0.7203 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2251, allocations: 8.375 kB / 0.7203 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2251, allocations: 4.375 kB / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2253, allocations: 46.25 kB / 0.7203 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2253, allocations: 3.938 kB / 0.7203 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.2253, allocations: 0 / 0.7203 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2253, allocations: 4 kB / 0.7203 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.2253, allocations: 15.92 kB / 0.7203 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.2258, allocations: 259.9 kB / 0.7206 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.2258, allocations: 18.58 kB / 0.7206 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.2258, allocations: 12.8 kB / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.2259, allocations: 0 / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.2261, allocations: 59.45 kB / 0.7207 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.246e-06/0.2261, allocations: 7.984 kB / 0.7207 GB, free: 8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002242/0.2263, allocations: 61.64 kB / 0.7208 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2263, allocations: 59.34 kB / 0.7208 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2265, allocations: 105.8 kB / 0.7209 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2265, allocations: 29.7 kB / 0.7209 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.2265, allocations: 84.14 kB / 0.721 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2266, allocations: 19.86 kB / 0.721 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.2267, allocations: 29.7 kB / 0.7211 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2268, allocations: 318.7 kB / 0.7214 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.2269, allocations: 57.69 kB / 0.7214 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.227, allocations: 84.25 kB / 0.7215 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2272, allocations: 84.2 kB / 0.7216 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2272, allocations: 0 / 0.7216 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002976/0.2275, allocations: 177.3 kB / 0.7218 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.2275, allocations: 39.88 kB / 0.7218 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2275, allocations: 4 kB / 0.7218 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2275, allocations: 0 / 0.7218 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.854e-05/0.2276, allocations: 7.938 kB / 0.7218 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2276, allocations: 4.094 kB / 0.7218 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2278, allocations: 27.97 kB / 0.7218 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.2278, allocations: 7.984 kB / 0.7218 GB, free: 6.711 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000113/0.2279, allocations: 117.8 kB / 0.722 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.2279, allocations: 4 kB / 0.722 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.228, allocations: 4 kB / 0.722 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.228, allocations: 0 / 0.722 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.228, allocations: 0 / 0.722 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.228, allocations: 0 / 0.722 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2281, allocations: 144.7 kB / 0.7221 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2281, allocations: 0 / 0.7221 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.2281, allocations: 4 kB / 0.7221 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2281, allocations: 3.938 kB / 0.7221 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2281, allocations: 0 / 0.7221 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2282, allocations: 0 / 0.7221 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2282, allocations: 0 / 0.7221 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2283, allocations: 85.7 kB / 0.7222 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.2283, allocations: 0 / 0.7222 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2283, allocations: 7.984 kB / 0.7222 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.2283, allocations: 0 / 0.7222 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.2284, allocations: 4 kB / 0.7222 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2284, allocations: 4 kB / 0.7222 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.2284, allocations: 87.27 kB / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2284, allocations: 0 / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002293/0.2286, allocations: 12 kB / 0.7223 GB, free: 6.168 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005422/0.2292, allocations: 0.6282 MB / 0.7229 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2295, allocations: 129.1 kB / 0.723 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2295, allocations: 3.938 kB / 0.723 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.2295, allocations: 16.22 kB / 0.7231 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2297, allocations: 19.86 kB / 0.7231 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.2315, allocations: 1.489 MB / 0.7245 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.212e-05/0.2315, allocations: 67.28 kB / 0.7246 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.2315, allocations: 7.984 kB / 0.7246 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2316, allocations: 12.5 kB / 0.7246 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2316, allocations: 4 kB / 0.7246 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.2657, allocations: 2.728 MB / 0.7273 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.48, allocations: 8.625 kB / 0.7273 GB, free: 1.004 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.558712130994536] Failed to read output from testmodel.py, exit status != 0: 11.584984646004159 11.613447088000001 11.385445215 Calling exit ...