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.0007825/0.0007825, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008479/0.0008479, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.7249/0.7249, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.422e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001166/0.001181, allocations: 0.6128 MB / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002525, allocations: 1.139 MB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.002572, allocations: 3.938 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.002661, allocations: 0 / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.002682, allocations: 3.938 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.0031, allocations: 130.3 kB / 0.6199 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003234, allocations: 87.83 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.003316, allocations: 11.92 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.003377, allocations: 43.95 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.003462, allocations: 31.91 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003481, allocations: 12 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.003536, allocations: 15.98 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.00359, allocations: 11.98 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.003639, allocations: 31.91 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.003781, allocations: 99.77 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003783, allocations: 0 / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003784, allocations: 0 / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003788, allocations: 0 / 0.6203 GB, free: 11.31 MB / 0.5886 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.0003742/0.004162, allocations: 304 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004199, allocations: 12.03 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.004225, allocations: 34.75 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.004257, allocations: 8.938 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.004391, allocations: 125.7 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004403, allocations: 8.359 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.004416, allocations: 4.375 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.004502, allocations: 54.12 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.004508, allocations: 192 / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004516, allocations: 384 / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004521, allocations: 4.125 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.004545, allocations: 15.98 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.004836, allocations: 252 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.004883, allocations: 34.45 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.004897, allocations: 8.844 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.004904, allocations: 0 / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.005023, allocations: 63.47 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.005023, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001886/0.005212, allocations: 73.56 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.005247, allocations: 51.41 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.005317, allocations: 105.8 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.005337, allocations: 25.7 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.005387, allocations: 92.09 kB / 0.6215 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.005399, allocations: 11.95 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.005451, allocations: 29.7 kB / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.005557, allocations: 318.8 kB / 0.6218 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.005633, allocations: 57.69 kB / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.005707, allocations: 80.25 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.005792, allocations: 84.14 kB / 0.622 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.005797, allocations: 3.938 kB / 0.622 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002056/0.006002, allocations: 177 kB / 0.6222 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.006044, allocations: 37.78 kB / 0.6222 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.006052, allocations: 4 kB / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.006068, allocations: 320 / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-05/0.006088, allocations: 0 / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.006097, allocations: 0 / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.006259, allocations: 31.97 kB / 0.6223 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.006277, allocations: 8 kB / 0.6223 GB, free: 8.973 MB / 0.5886 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 9.762e-05/0.006374, allocations: 122.7 kB / 0.6224 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.006383, allocations: 7.953 kB / 0.6224 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.006415, allocations: 12 kB / 0.6224 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006418, allocations: 0 / 0.6224 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.006424, allocations: 0 / 0.6224 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.006429, allocations: 3.938 kB / 0.6224 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.006535, allocations: 132.7 kB / 0.6226 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006537, allocations: 0 / 0.6226 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-06/0.006544, allocations: 4 kB / 0.6226 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.006547, allocations: 3.984 kB / 0.6226 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006555, allocations: 0 / 0.6226 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006556, allocations: 0 / 0.6226 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006557, allocations: 0 / 0.6226 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.006648, allocations: 85.3 kB / 0.6226 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006656, allocations: 0 / 0.6226 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006668, allocations: 0 / 0.6226 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-06/0.006677, allocations: 4.047 kB / 0.6227 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.006716, allocations: 11.91 kB / 0.6227 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.006721, allocations: 0 / 0.6227 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.00676, allocations: 87.28 kB / 0.6227 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00676, allocations: 0 / 0.6227 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001663/0.006926, allocations: 19.89 kB / 0.6228 GB, free: 8.414 MB / 0.5886 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.0003841/0.00731, allocations: 0.628 MB / 0.6234 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.007505, allocations: 141 kB / 0.6235 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007507, allocations: 0 / 0.6235 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.007528, allocations: 8 kB / 0.6235 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.007693, allocations: 14.05 kB / 0.6235 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.008689, allocations: 1.493 MB / 0.625 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.008733, allocations: 66.19 kB / 0.6251 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.626e-05/0.008749, allocations: 4.188 kB / 0.6251 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.008777, allocations: 20.48 kB / 0.6251 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.008778, allocations: 0 / 0.6251 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.02475, allocations: 2.731 MB / 0.6277 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/6.87, allocations: 4.844 kB / 0.6277 GB, free: 3.301 MB / 0.5886 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: 9.658093229867518] Failed to read output from testmodel.py, exit status != 0: 6.9498621160164475 6.958581727 6.953023789 Calling exit ...