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.001549/0.001549, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.001905/0.001905, allocations: 159.2 kB / 22.29 MB, free: 3.512 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 1.407/1.407, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.257/1.257, allocations: 154.7 MB / 413.8 MB, free: 3.16 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: 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.003058/0.003058, allocations: 67.23 kB / 0.6181 GB, free: 1.109 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2322, allocations: 102 MB / 0.7176 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002065/0.2343, allocations: 0.6606 MB / 0.7183 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2353, allocations: 0.851 MB / 0.7191 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.2354, allocations: 7.938 kB / 0.7191 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.2355, allocations: 7.922 kB / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.786e-05/0.2355, allocations: 0 / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2356, allocations: 15.92 kB / 0.7191 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.2357, allocations: 31.92 kB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.2358, allocations: 11.98 kB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.2359, allocations: 23.92 kB / 0.7192 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.2359, allocations: 11.98 kB / 0.7192 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2359, allocations: 4 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2359, allocations: 4 kB / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.236, allocations: 11.92 kB / 0.7192 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.236, allocations: 11.94 kB / 0.7192 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2361, allocations: 39.86 kB / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2361, allocations: 0 / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2361, allocations: 0 / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2361, allocations: 0 / 0.7193 GB, free: 9.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004584/0.2366, allocations: 278.2 kB / 0.7196 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2366, allocations: 8.031 kB / 0.7196 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.2367, allocations: 42.73 kB / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.2367, allocations: 0.9375 kB / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2368, allocations: 118.4 kB / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2369, allocations: 8.375 kB / 0.7197 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.2369, allocations: 384 / 0.7197 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.2371, allocations: 70.16 kB / 0.7198 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2371, allocations: 3.938 kB / 0.7198 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2371, allocations: 4 kB / 0.7198 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2371, allocations: 0 / 0.7198 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.2373, allocations: 43.95 kB / 0.7198 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.2377, allocations: 243.9 kB / 0.7201 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2378, allocations: 42.55 kB / 0.7201 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2379, allocations: 20.91 kB / 0.7201 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2379, allocations: 4 kB / 0.7201 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.238, allocations: 34.56 kB / 0.7202 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.238, allocations: 0 / 0.7202 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003903/0.2384, allocations: 93.52 kB / 0.7203 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2384, allocations: 55.34 kB / 0.7203 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.2385, allocations: 109.8 kB / 0.7204 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2385, allocations: 25.7 kB / 0.7204 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.2386, allocations: 84.27 kB / 0.7205 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.2386, allocations: 7.953 kB / 0.7205 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.2386, allocations: 17.72 kB / 0.7205 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2388, allocations: 318.8 kB / 0.7208 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.2389, allocations: 19.98 kB / 0.7209 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.239, allocations: 11.98 kB / 0.7209 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.2392, allocations: 52.75 kB / 0.7209 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2392, allocations: 4.062 kB / 0.7209 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002189/0.2394, allocations: 65.66 kB / 0.721 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2394, allocations: 4 kB / 0.721 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2394, allocations: 0 / 0.721 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2394, allocations: 0 / 0.721 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.2395, allocations: 15.92 kB / 0.721 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2395, allocations: 0 / 0.721 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.2396, allocations: 11.94 kB / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2396, allocations: 8.031 kB / 0.721 GB, free: 7.559 MB / 0.6198 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.000137/0.2397, allocations: 113.8 kB / 0.7211 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.2397, allocations: 3.984 kB / 0.7211 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.2398, allocations: 15.3 kB / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2398, allocations: 0 / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2398, allocations: 256 / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2398, allocations: 0 / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2399, allocations: 136.7 kB / 0.7213 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2399, allocations: 0 / 0.7213 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.24, allocations: 19.92 kB / 0.7213 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.24, allocations: 0 / 0.7213 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.24, allocations: 0 / 0.7213 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.24, allocations: 0 / 0.7213 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.24, allocations: 0 / 0.7213 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.2403, allocations: 167.5 kB / 0.7215 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.2403, allocations: 3.953 kB / 0.7215 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2403, allocations: 7.984 kB / 0.7215 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.2404, allocations: 4 kB / 0.7215 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.2405, allocations: 12.02 kB / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2405, allocations: 0 / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.2405, allocations: 83.28 kB / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2405, allocations: 0 / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002256/0.2408, allocations: 8 kB / 0.7216 GB, free: 6.93 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: 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.0006327/0.2414, allocations: 0.7083 MB / 0.7223 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.2417, allocations: 39.98 kB / 0.7223 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2417, allocations: 0 / 0.7223 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2418, allocations: 23.98 kB / 0.7223 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2421, allocations: 11.09 kB / 0.7223 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2437, allocations: 1.264 MB / 0.7236 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.062e-05/0.2437, allocations: 63.34 kB / 0.7236 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.2438, allocations: 4 kB / 0.7236 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.2438, allocations: 20.48 kB / 0.7237 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2438, allocations: 0 / 0.7237 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.2764, allocations: 2.185 MB / 0.7258 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.56, allocations: 14.33 kB / 0.7258 GB, free: 2.59 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.630475234007463] Failed to read output from testmodel.py, exit status != 0: 11.670319492011913 11.68778468 11.448340654 Calling exit ...