Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008536/0.0008536, 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.0009043/0.0009043, 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.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7125/0.7125, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.618 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.569e-05, allocations: 3.375 kB / 0.618 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0016/0.001615, allocations: 0.6591 MB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002652, allocations: 0.8432 MB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.0027, allocations: 4 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.002795, allocations: 7.938 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.887e-05/0.002824, allocations: 11.88 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.003006, allocations: 19.91 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.003093, allocations: 31.91 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.003191, allocations: 8 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.003266, allocations: 19.98 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.00333, allocations: 11.92 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.003356, allocations: 4 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.003365, allocations: 0 / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.003422, allocations: 19.97 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.003455, allocations: 11.94 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.003553, allocations: 39.92 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003556, allocations: 3.938 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003556, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003561, allocations: 0 / 0.6197 GB, free: 11.96 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.0004162/0.003977, allocations: 270.3 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.004019, allocations: 13.45 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.004058, allocations: 38.75 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.004079, allocations: 0.9375 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004223, allocations: 121.7 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.004244, allocations: 8.312 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.004255, allocations: 4.375 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.004436, allocations: 62.23 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.004446, allocations: 192 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.004454, allocations: 384 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.00446, allocations: 4.125 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.004616, allocations: 47.89 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.004964, allocations: 236 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.005093, allocations: 46.42 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.005163, allocations: 28.84 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.005179, allocations: 0 / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.005203, allocations: 42.55 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005205, allocations: 0 / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003241/0.005529, allocations: 89.59 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.005562, allocations: 51.41 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.005636, allocations: 105.8 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.005649, allocations: 25.7 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.005697, allocations: 92.09 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.005713, allocations: 4.062 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.005752, allocations: 17.7 kB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.005839, allocations: 314.8 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.005922, allocations: 20.05 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.005982, allocations: 23.97 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.006113, allocations: 40.83 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.006116, allocations: 3.938 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.006294, allocations: 73.61 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006309, allocations: 4.094 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.006313, allocations: 7.938 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.006326, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.006418, allocations: 11.98 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.006423, allocations: 0 / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.006463, allocations: 7.984 kB / 0.6214 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.006469, allocations: 3.938 kB / 0.6214 GB, free: 9.984 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 0.0001452/0.006614, allocations: 118.8 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.006636, allocations: 0 / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.006657, allocations: 11.3 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00666, allocations: 4.25 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006664, allocations: 0 / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.006669, allocations: 4 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.006821, allocations: 140.7 kB / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006823, allocations: 0 / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.006891, allocations: 11.98 kB / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.006894, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.006902, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.006908, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006909, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.007125, allocations: 167.5 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.007137, allocations: 11.94 kB / 0.6219 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.007151, allocations: 4 kB / 0.6219 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.007224, allocations: 3.938 kB / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.007273, allocations: 11.92 kB / 0.6219 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007277, allocations: 0 / 0.6219 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.007315, allocations: 83.28 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.007315, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002416/0.007556, allocations: 15.97 kB / 0.622 GB, free: 9.336 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.0004453/0.008002, allocations: 0.6929 MB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.0082, allocations: 43.89 kB / 0.6227 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.008204, allocations: 4 kB / 0.6227 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.008284, allocations: 28.06 kB / 0.6227 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.008542, allocations: 6.656 kB / 0.6227 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.009804, allocations: 1.257 MB / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.009862, allocations: 67.44 kB / 0.624 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.81e-05/0.0099, allocations: 7.984 kB / 0.624 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.009946, allocations: 12.5 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.009947, allocations: 0 / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.02403, allocations: 2.191 MB / 0.6262 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.927, allocations: 20.11 kB / 0.6262 GB, free: 5.051 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.548262680880725] Failed to read output from testmodel.py, exit status != 0: 7.009080176241696 7.017564874 7.012226278 Calling exit ...