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.0007845/0.0007845, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009532/0.0009532, allocations: 206.6 kB / 22.24 MB, free: 3.582 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 0.9972/0.9972, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.8354/0.8354, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [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.001367/0.001367, allocations: 72.42 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5359, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001458/0.5374, allocations: 0.6223 MB / 0.818 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.5385, allocations: 1.14 MB / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.5385, allocations: 0 / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5387, allocations: 4.734 kB / 0.8191 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.5387, allocations: 6.688 kB / 0.8191 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.5391, allocations: 113.5 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.5393, allocations: 90.8 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.5394, allocations: 11.42 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.5395, allocations: 40.72 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.5396, allocations: 21.75 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.5396, allocations: 7.25 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.5396, allocations: 25.56 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.5397, allocations: 10.55 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.5397, allocations: 30.81 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5399, allocations: 85.19 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5399, allocations: 1.531 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5399, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5399, allocations: 0 / 0.8195 GB, free: 15.83 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.0004133/0.5403, allocations: 316.1 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5404, allocations: 11.88 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.5404, allocations: 33.58 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.5404, allocations: 8.141 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.5406, allocations: 120.6 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.5406, allocations: 7.875 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5406, allocations: 6.047 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.5407, allocations: 42.7 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5407, allocations: 3.938 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.5408, allocations: 0.6562 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5408, allocations: 8.172 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.5408, allocations: 14.69 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.5411, allocations: 258.5 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.257e-05/0.5412, allocations: 17.7 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.5412, allocations: 9.125 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.5412, allocations: 4 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.5414, allocations: 60.86 kB / 0.8204 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5414, allocations: 0 / 0.8204 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.5415, allocations: 70.38 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5416, allocations: 52.11 kB / 0.8205 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.5416, allocations: 113.8 kB / 0.8206 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5417, allocations: 29.89 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.5417, allocations: 92.17 kB / 0.8207 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.5417, allocations: 8.656 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.5418, allocations: 29.64 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.5418, allocations: 319.8 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.5419, allocations: 62.19 kB / 0.8211 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.542, allocations: 77.42 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.5421, allocations: 80.31 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5421, allocations: 4 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001898/0.5423, allocations: 182.1 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.5423, allocations: 37.61 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5423, allocations: 1.266 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5423, allocations: 5.594 kB / 0.8215 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.71e-05/0.5423, allocations: 1.734 kB / 0.8215 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5424, allocations: 0.9062 kB / 0.8215 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5425, allocations: 30.88 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.5425, allocations: 9.75 kB / 0.8216 GB, free: 13.89 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 7.151e-05/0.5426, allocations: 120.9 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-06/0.5426, allocations: 0.5156 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.5426, allocations: 6.797 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5426, allocations: 0.6562 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5426, allocations: 3.938 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5426, allocations: 0 / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.901e-05/0.5427, allocations: 138 kB / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5427, allocations: 0 / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.5427, allocations: 2.953 kB / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.5427, allocations: 4 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5427, allocations: 0.6094 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5427, allocations: 0 / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5427, allocations: 2.141 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.647e-05/0.5428, allocations: 91.5 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.5428, allocations: 4.5 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.5429, allocations: 0.5156 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.5429, allocations: 0.5156 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.5429, allocations: 4.203 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.5429, allocations: 0.8125 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.5429, allocations: 87.16 kB / 0.822 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5429, allocations: 4 kB / 0.822 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001492/0.5431, allocations: 15.94 kB / 0.822 GB, free: 13.43 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.0003034/0.5434, allocations: 0.6222 MB / 0.8226 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5436, allocations: 134.9 kB / 0.8228 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5436, allocations: 0 / 0.8228 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.5436, allocations: 15.52 kB / 0.8228 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.5438, allocations: 7.812 kB / 0.8228 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5449, allocations: 1.504 MB / 0.8243 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.843e-05/0.5449, allocations: 64.31 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.545, allocations: 6.453 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.545, allocations: 15.42 kB / 0.8243 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.545, allocations: 0 / 0.8243 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.5644, allocations: 2.596 MB / 0.8269 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/7.086, allocations: 1.156 kB / 0.8269 GB, free: 10.3 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.25626615807414] Failed to read output from testmodel.py, exit status != 0: 7.166124013252556 7.181333264 6.639367303 Calling exit ...