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.0007948/0.0007948, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008162/0.0008162, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7123/0.7123, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.025e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001934/0.001954, allocations: 0.6875 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003239, allocations: 0.886 MB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.003285, allocations: 4 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.003319, allocations: 3.938 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.003393, allocations: 3.938 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.0036, allocations: 23.91 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.003699, allocations: 43.84 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.003834, allocations: 12 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003942, allocations: 27.91 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.004001, allocations: 11.98 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.004038, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.004049, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.004074, allocations: 19.86 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.004103, allocations: 7.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004228, allocations: 39.94 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.004232, allocations: 3.938 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.753e-06/0.004234, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.004239, allocations: 0 / 0.6198 GB, free: 11.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005826/0.004822, allocations: 294.2 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.718e-05/0.004899, allocations: 9.469 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.004967, allocations: 30.75 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.005007, allocations: 8.891 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.005124, allocations: 105.8 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.005144, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.005164, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.005427, allocations: 74.2 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005436, allocations: 192 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005446, allocations: 384 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005455, allocations: 8.062 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.005655, allocations: 63.92 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.006068, allocations: 232 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.006212, allocations: 54.53 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.006292, allocations: 40.92 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.006318, allocations: 3.938 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.006343, allocations: 38.48 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.006344, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003508/0.006695, allocations: 129.6 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.006736, allocations: 59.34 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.006831, allocations: 105.8 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.006845, allocations: 25.7 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.006902, allocations: 92.09 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.006931, allocations: 7.891 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.006975, allocations: 25.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.00709, allocations: 310.8 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.007174, allocations: 39.95 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.007246, allocations: 31.91 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.007399, allocations: 68.78 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.007402, allocations: 0 / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002072/0.00761, allocations: 105.5 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.00763, allocations: 6.656 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.007638, allocations: 0 / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.007656, allocations: 3.938 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.007777, allocations: 15.98 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.007788, allocations: 3.984 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.007833, allocations: 15.98 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007844, allocations: 4 kB / 0.6218 GB, free: 9.676 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: 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 8.809e-05/0.007932, allocations: 114.8 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.007952, allocations: 3.938 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.008, allocations: 8 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008003, allocations: 4 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.008012, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.008017, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.008167, allocations: 136.7 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008169, allocations: 0 / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.008227, allocations: 23.92 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00823, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.008241, allocations: 4 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008242, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.008244, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.008485, allocations: 195.4 kB / 0.6222 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.008495, allocations: 3.938 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008509, allocations: 0 / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.008566, allocations: 19.92 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.008628, allocations: 7.984 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.008634, allocations: 4 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.008675, allocations: 83.28 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/0.008675, allocations: 0 / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001596/0.008835, allocations: 8 kB / 0.6224 GB, free: 8.996 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: 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.0005163/0.009351, allocations: 0.7283 MB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.009585, allocations: 79.83 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.009587, allocations: 0 / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.009674, allocations: 35.95 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.01005, allocations: 8 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.01059, allocations: 154.4 kB / 0.6233 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.762e-05/0.01067, allocations: 71.22 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.0107, allocations: 0 / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.01076, allocations: 20.48 kB / 0.6234 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of SimCode: time 1.432e-06/0.01076, allocations: 0 / 0.6234 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.02793, allocations: 2.377 MB / 0.6258 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.102, allocations: 2.5 kB / 0.6258 GB, free: 5.59 MB / 0.5886 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: 9.703981157392263] Failed to read output from testmodel.py, exit status != 0: 7.182860639877617 7.19311354 7.186631906 Calling exit ...