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.0008249/0.0008249, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009758/0.0009758, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8835/0.8835, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7103/0.7103, allocations: 154.6 MB / 413.7 MB, free: 0.7891 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 2.695e-06/2.695e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.93e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001383/0.001403, allocations: 0.6028 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.00253, allocations: 1.143 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.002575, allocations: 4 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.411e-05/0.002659, allocations: 3.938 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.268e-05/0.002682, allocations: 7.922 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.00307, allocations: 124.5 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.003209, allocations: 87.89 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.003289, allocations: 11.92 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.003359, allocations: 47.95 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/0.003446, allocations: 19.97 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.003465, allocations: 11.98 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.003523, allocations: 23.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.00358, allocations: 11.92 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.00363, allocations: 23.98 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.003784, allocations: 115.6 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003786, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003788, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003791, allocations: 4 kB / 0.6203 GB, free: 11.42 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.000376/0.004167, allocations: 300 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004208, allocations: 8.031 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.004238, allocations: 38.73 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.004275, allocations: 8.938 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004425, allocations: 121.7 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004435, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.00445, allocations: 8.375 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.004545, allocations: 46.23 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004552, allocations: 192 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.004561, allocations: 4.375 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004566, allocations: 8.125 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.00459, allocations: 11.94 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.004872, allocations: 252 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.004919, allocations: 22.52 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.004935, allocations: 20.84 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.004942, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.005085, allocations: 63.41 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005086, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.005265, allocations: 69.61 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.005303, allocations: 67.28 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.005369, allocations: 105.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.005385, allocations: 25.7 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.005426, allocations: 92.09 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.005434, allocations: 3.984 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.005478, allocations: 29.7 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.005565, allocations: 322.8 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.005633, allocations: 57.62 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.0057, allocations: 84.25 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.343e-05/0.005773, allocations: 80.22 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.005777, allocations: 3.938 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001765/0.005953, allocations: 180.9 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.005984, allocations: 35.89 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005989, allocations: 3.984 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.006002, allocations: 4 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.517e-05/0.006017, allocations: 0 / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.006022, allocations: 0 / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.006163, allocations: 24.06 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.006177, allocations: 8.312 kB / 0.6223 GB, free: 9.09 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 6.92e-05/0.006246, allocations: 126.8 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-06/0.006254, allocations: 3.953 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.006276, allocations: 8 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006279, allocations: 0 / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.006284, allocations: 4 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006287, allocations: 0 / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.006373, allocations: 136.7 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006374, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-06/0.006378, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006379, allocations: 4 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006386, allocations: 7.938 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006387, allocations: 3.984 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006388, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.761e-05/0.006466, allocations: 81.06 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.006471, allocations: 0 / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.006481, allocations: 0 / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.006492, allocations: 0 / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.006518, allocations: 7.984 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006522, allocations: 0 / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.006551, allocations: 83.28 kB / 0.6227 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006551, allocations: 4 kB / 0.6227 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001508/0.006702, allocations: 19.95 kB / 0.6228 GB, free: 8.535 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.0003158/0.007018, allocations: 0.6201 MB / 0.6234 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.007198, allocations: 149.3 kB / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0072, allocations: 0 / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.007219, allocations: 11.94 kB / 0.6235 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.007401, allocations: 11.98 kB / 0.6235 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.008611, allocations: 1.493 MB / 0.625 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.008663, allocations: 67.34 kB / 0.6251 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.008687, allocations: 0 / 0.6251 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.008726, allocations: 20.48 kB / 0.6251 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.008727, allocations: 0 / 0.6251 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.02573, allocations: 2.726 MB / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.595, allocations: 4.922 kB / 0.6277 GB, free: 3.422 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 & /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: 9.175785559229553] Failed to read output from testmodel.py, exit status != 0: 6.6755698611959815 6.68778116 6.682053993 Calling exit ...