Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.000815/0.000815, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008541/0.0008541, allocations: 208.1 kB / 22.24 MB, free: 3.59 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 0.9481/0.9481, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.8033/0.8033, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [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.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",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.0008964/0.0008964, allocations: 70.98 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5648, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001425/0.5663, allocations: 0.6754 MB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.5671, allocations: 0.8938 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.5671, allocations: 4 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.5671, allocations: 0.6094 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.5672, allocations: 12.19 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.5674, allocations: 20.23 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.5674, allocations: 44.2 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5676, allocations: 4.672 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.5676, allocations: 23.67 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.5677, allocations: 18.09 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.5677, allocations: 4.094 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.5677, allocations: 3.656 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.5677, allocations: 19.09 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.5677, allocations: 13.16 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.732e-05/0.5678, allocations: 43.88 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5679, allocations: 1.438 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5679, allocations: 0 / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5679, allocations: 2.906 kB / 0.8196 GB, free: 15.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003949/0.5683, allocations: 294.2 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5683, allocations: 7.375 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.5683, allocations: 32.78 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.5684, allocations: 16.06 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.5687, allocations: 105.7 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5687, allocations: 1.984 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.5687, allocations: 3.719 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.5689, allocations: 72.81 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5689, allocations: 3.938 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5689, allocations: 0.7969 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.5689, allocations: 0 / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.5691, allocations: 67.31 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.5694, allocations: 237.7 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5695, allocations: 54.98 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.5696, allocations: 36.12 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5696, allocations: 5.125 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5697, allocations: 36.36 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.5697, allocations: 0 / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003333/0.57, allocations: 125.8 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.57, allocations: 55.34 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.5701, allocations: 108.1 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5701, allocations: 30.45 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.5701, allocations: 95.5 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.5702, allocations: 10.66 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.5702, allocations: 17.61 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.5703, allocations: 314.7 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.5703, allocations: 30.64 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.5704, allocations: 30.28 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.5706, allocations: 75.55 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5706, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001818/0.5708, allocations: 94.36 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5708, allocations: 8.047 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5708, allocations: 7.984 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5708, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.5709, allocations: 19.11 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5709, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.5709, allocations: 18.7 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5709, allocations: 4 kB / 0.8215 GB, free: 14.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.526e-05/0.571, allocations: 111.6 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.571, allocations: 5.984 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.571, allocations: 16.22 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.571, allocations: 4 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.571, allocations: 0 / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.571, allocations: 0 / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.5711, allocations: 135.6 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5711, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.5712, allocations: 14.69 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.5712, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5712, allocations: 10.41 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.5712, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5712, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5714, allocations: 200.1 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.5714, allocations: 8.047 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.5714, allocations: 0.6094 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.5715, allocations: 11.31 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5715, allocations: 10.56 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.5715, allocations: 3.688 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.5716, allocations: 93.31 kB / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5716, allocations: 1.562 kB / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001457/0.5717, allocations: 4.969 kB / 0.8221 GB, free: 13.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004006/0.5721, allocations: 0.7239 MB / 0.8228 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.5723, allocations: 75.64 kB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5723, allocations: 0 / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.5724, allocations: 34.67 kB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.5726, allocations: 6.125 kB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.573, allocations: 158.5 kB / 0.8231 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.573, allocations: 69.73 kB / 0.8232 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.5731, allocations: 1.031 kB / 0.8232 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.5731, allocations: 20.33 kB / 0.8232 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5731, allocations: 0 / 0.8232 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.5915, allocations: 2.246 MB / 0.8254 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.375, allocations: 8.062 kB / 0.8254 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.274127875920385] Failed to read output from testmodel.py, exit status != 0: 7.452806617133319 7.466829639 6.8953927440000005 Calling exit ...