Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0007818/0.0007818, 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.0008417/0.0008417, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8872/0.8872, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7124/0.7124, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.062e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001371/0.001391, allocations: 0.6598 MB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.002173, allocations: 0.8549 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.002214, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.0023, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.718e-05/0.002317, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.002472, allocations: 27.84 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.002553, allocations: 31.92 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002655, allocations: 8 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.002716, allocations: 19.92 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.002768, allocations: 15.97 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.002789, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.002799, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.002847, allocations: 11.98 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.002874, allocations: 11.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.00296, allocations: 39.88 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002961, allocations: 0 / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002962, allocations: 0 / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002966, allocations: 3.938 kB / 0.6197 GB, free: 11.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003408/0.003306, allocations: 278.3 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.003345, allocations: 12.03 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.003374, allocations: 30.75 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.847e-05/0.003393, allocations: 0.9375 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.003507, allocations: 121.7 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.003523, allocations: 4.375 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.003531, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.003664, allocations: 66.22 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003671, allocations: 192 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.003679, allocations: 4.375 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003686, allocations: 8.109 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.003787, allocations: 47.89 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.00405, allocations: 239.9 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.678e-05/0.004136, allocations: 42.5 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.004183, allocations: 24.89 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004197, allocations: 11.94 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.004215, allocations: 34.56 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004216, allocations: 0 / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.004432, allocations: 85.64 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.004459, allocations: 55.41 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.004516, allocations: 105.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.004526, allocations: 25.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.004567, allocations: 88.22 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.004579, allocations: 7.984 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.004612, allocations: 21.66 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.004687, allocations: 314.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.004733, allocations: 19.97 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.004773, allocations: 23.92 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.004855, allocations: 40.81 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.004857, allocations: 8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.00496, allocations: 69.61 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.004971, allocations: 4 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.004975, allocations: 4 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004986, allocations: 0 / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.00505, allocations: 11.98 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005054, allocations: 0 / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.005078, allocations: 4 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005083, allocations: 8.031 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.519e-05/0.005168, allocations: 118.7 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.005181, allocations: 4 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.005197, allocations: 11.52 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005198, allocations: 0 / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.005202, allocations: 4 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005204, allocations: 0 / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.005306, allocations: 136.6 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005307, allocations: 4 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.005335, allocations: 11.98 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005336, allocations: 0 / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.005341, allocations: 0 / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.005343, allocations: 4 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005345, allocations: 3.984 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.00548, allocations: 167.4 kB / 0.6219 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.005485, allocations: 4 kB / 0.6219 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.005493, allocations: 0 / 0.6219 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.005541, allocations: 12.02 kB / 0.6219 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.005582, allocations: 7.938 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005585, allocations: 4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.005613, allocations: 83.27 kB / 0.622 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.005613, allocations: 0 / 0.622 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001445/0.005757, allocations: 8 kB / 0.622 GB, free: 9.312 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003011/0.006058, allocations: 0.6967 MB / 0.6227 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006184, allocations: 47.92 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006185, allocations: 3.938 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.006231, allocations: 23.97 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.006406, allocations: 4 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.007365, allocations: 1.261 MB / 0.624 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.007416, allocations: 63.34 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.007447, allocations: 4 kB / 0.6241 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.007498, allocations: 16.5 kB / 0.6241 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of SimCode: time 5.62e-07/0.007498, allocations: 0 / 0.6241 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.02297, allocations: 2.201 MB / 0.6263 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/6.606, allocations: 10.12 kB / 0.6263 GB, free: 5.004 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.274439346976578] Failed to read output from testmodel.py, exit status != 0: 6.6827419102191925 6.6919206220000005 6.687380286 Calling exit ...