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.0008323/0.0008323, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009231/0.0009231, allocations: 162 kB / 22.43 MB, free: 2.145 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.9089/0.9089, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.7121/0.7121, allocations: 155 MB / 414.2 MB, free: 480 kB / 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: 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.0009582/0.0009582, allocations: 71.89 kB / 0.6187 GB, free: 13.22 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4193, allocations: 102 MB / 0.7182 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001329/0.4206, allocations: 0.644 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006291/0.4212, allocations: 0.8506 MB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.4213, allocations: 0 / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.629e-05/0.4214, allocations: 5.812 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.762e-05/0.4214, allocations: 4.609 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.4215, allocations: 29.42 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.4216, allocations: 28.66 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.4217, allocations: 8.969 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.4218, allocations: 22.28 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.4218, allocations: 16.81 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.4218, allocations: 3.562 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-06/0.4219, allocations: 2.344 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.4219, allocations: 14.45 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.4219, allocations: 13.22 kB / 0.7198 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.99e-05/0.422, allocations: 42.42 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.422, allocations: 0 / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.422, allocations: 1.188 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.422, allocations: 0 / 0.7199 GB, free: 21.97 MB / 0.6355 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.0003177/0.4223, allocations: 283 kB / 0.7202 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4224, allocations: 10.22 kB / 0.7202 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.249e-05/0.4224, allocations: 33.38 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.4224, allocations: 3.5 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.4225, allocations: 125.3 kB / 0.7203 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4225, allocations: 10.94 kB / 0.7203 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.4225, allocations: 1.938 kB / 0.7203 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4227, allocations: 63.05 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.4227, allocations: 5.062 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.4227, allocations: 0 / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4227, allocations: 5.781 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4228, allocations: 43.91 kB / 0.7204 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.423, allocations: 239.3 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.79e-05/0.4231, allocations: 51.09 kB / 0.7207 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.4232, allocations: 20.39 kB / 0.7207 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.4232, allocations: 1.922 kB / 0.7207 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.4232, allocations: 39.56 kB / 0.7208 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4232, allocations: 0 / 0.7208 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.4234, allocations: 93.55 kB / 0.7209 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.4234, allocations: 52.66 kB / 0.7209 GB, free: 21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.4235, allocations: 103.1 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.4235, allocations: 26.7 kB / 0.721 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.4235, allocations: 83.44 kB / 0.7211 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.4235, allocations: 8.984 kB / 0.7211 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.4236, allocations: 19.34 kB / 0.7212 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.4236, allocations: 318 kB / 0.7215 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.4236, allocations: 17.95 kB / 0.7215 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.4237, allocations: 25.48 kB / 0.7215 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.4238, allocations: 44 kB / 0.7215 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4238, allocations: 0 / 0.7215 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.4239, allocations: 74.16 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4239, allocations: 5.703 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4239, allocations: 0 / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4239, allocations: 5.562 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.424, allocations: 9.234 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.424, allocations: 1.844 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.424, allocations: 9.906 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.424, allocations: 0.8438 kB / 0.7216 GB, free: 20.36 MB / 0.6355 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 7.584e-05/0.4241, allocations: 114.6 kB / 0.7217 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.4241, allocations: 1.438 kB / 0.7218 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.4241, allocations: 14.09 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4241, allocations: 0 / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4241, allocations: 9.375 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4241, allocations: 0.5625 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.4242, allocations: 134 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.4242, allocations: 0 / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.4242, allocations: 9.609 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4242, allocations: 1.344 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.4242, allocations: 0.8594 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4242, allocations: 7.984 kB / 0.7219 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4242, allocations: 2.078 kB / 0.7219 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.4244, allocations: 170.8 kB / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.4244, allocations: 10.39 kB / 0.7221 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.4244, allocations: 4.703 kB / 0.7221 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.4244, allocations: 6.484 kB / 0.7221 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4245, allocations: 7.688 kB / 0.7221 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.4245, allocations: 2.031 kB / 0.7221 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.629e-05/0.4245, allocations: 84.8 kB / 0.7222 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4245, allocations: 1.125 kB / 0.7222 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001376/0.4246, allocations: 8.625 kB / 0.7222 GB, free: 19.82 MB / 0.6355 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.0002239/0.4248, allocations: 0.7026 MB / 0.7229 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.425, allocations: 41.56 kB / 0.7229 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.425, allocations: 1.281 kB / 0.7229 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.425, allocations: 23.42 kB / 0.723 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.4252, allocations: 11.17 kB / 0.723 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.4259, allocations: 1.26 MB / 0.7242 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.4259, allocations: 63.89 kB / 0.7243 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.426, allocations: 7.656 kB / 0.7243 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.426, allocations: 16.66 kB / 0.7243 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.426, allocations: 0 / 0.7243 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.4403, allocations: 2.193 MB / 0.7264 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.909, allocations: 7.047 kB / 0.7264 GB, free: 16.96 MB / 0.6355 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.625116768991575] Failed to read output from testmodel.py, exit status != 0: 6.9870214918628335 6.997543334 6.573572892 Calling exit ...