Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0009281/0.0009281, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0009949/0.0009949, allocations: 162 kB / 22.43 MB, free: 2.141 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.8722/0.8722, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6893/0.6893, 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.Logical.Validation.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",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.0008929/0.0008929, allocations: 69.78 kB / 0.6187 GB, free: 13.2 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.4185/0.4194, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001285/0.4207, allocations: 0.5938 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.4217, allocations: 1.143 MB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.4218, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.4218, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.4219, allocations: 6.562 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.4223, allocations: 119.4 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.4224, allocations: 88.7 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.4225, allocations: 2.781 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.4226, allocations: 52.12 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4227, allocations: 25.75 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.4227, allocations: 15.56 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.4228, allocations: 21.27 kB / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.4228, allocations: 10.27 kB / 0.7203 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.4228, allocations: 26.34 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.423, allocations: 101.6 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.423, allocations: 0 / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.423, allocations: 0 / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.423, allocations: 0 / 0.7204 GB, free: 21.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003519/0.4234, allocations: 301.5 kB / 0.7207 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4234, allocations: 10.72 kB / 0.7207 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.866e-05/0.4234, allocations: 35.55 kB / 0.7207 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.4235, allocations: 9.609 kB / 0.7207 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.335e-05/0.4235, allocations: 105.7 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4235, allocations: 3.312 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.4235, allocations: 9.094 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.4236, allocations: 43.73 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4236, allocations: 3.938 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4236, allocations: 4.656 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4236, allocations: 1.156 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.4237, allocations: 10.08 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.424, allocations: 248.8 kB / 0.7211 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.424, allocations: 25.62 kB / 0.7212 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.424, allocations: 11.89 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.424, allocations: 5.094 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.4242, allocations: 58.03 kB / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4242, allocations: 0 / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.4243, allocations: 64.05 kB / 0.7213 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.4243, allocations: 61.22 kB / 0.7214 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.4244, allocations: 103.9 kB / 0.7215 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4244, allocations: 27.98 kB / 0.7215 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.4244, allocations: 83.73 kB / 0.7216 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.4244, allocations: 13.62 kB / 0.7216 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.4245, allocations: 31.25 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.4245, allocations: 316.8 kB / 0.7219 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.4246, allocations: 59.92 kB / 0.722 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.4246, allocations: 77.84 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.577e-05/0.4247, allocations: 84.28 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4247, allocations: 0 / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001751/0.4249, allocations: 175.9 kB / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.4249, allocations: 39.73 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4249, allocations: 0 / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4249, allocations: 2.219 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.425, allocations: 1.719 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.425, allocations: 1.188 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4251, allocations: 28.34 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4251, allocations: 5.266 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.04e-05/0.4252, allocations: 118.2 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.4252, allocations: 9.094 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.4252, allocations: 9.625 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4252, allocations: 0 / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4252, allocations: 1.188 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4252, allocations: 0.6094 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.913e-05/0.4253, allocations: 134.5 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4253, allocations: 1.062 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-06/0.4253, allocations: 5.609 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4253, allocations: 320 / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4253, allocations: 1.797 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4253, allocations: 4 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4253, allocations: 5.062 kB / 0.7226 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.4254, allocations: 85.05 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.4254, allocations: 1.891 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.4254, allocations: 1.812 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.4254, allocations: 1.812 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.4254, allocations: 2.438 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4254, allocations: 5.094 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.774e-05/0.4254, allocations: 85.27 kB / 0.7228 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4254, allocations: 0 / 0.7228 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001414/0.4256, allocations: 15.52 kB / 0.7228 GB, free: 19.38 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001868/0.4258, allocations: 0.6269 MB / 0.7234 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.4259, allocations: 136.6 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4259, allocations: 1.156 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.4259, allocations: 11.2 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.4261, allocations: 7.266 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.4269, allocations: 1.48 MB / 0.725 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.4269, allocations: 70.03 kB / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.4269, allocations: 3.172 kB / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.427, allocations: 14.56 kB / 0.7251 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of SimCode: time 4.7e-07/0.427, allocations: 0 / 0.7251 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.4429, allocations: 2.663 MB / 0.7277 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.962, allocations: 4.906 kB / 0.7277 GB, free: 16.23 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.519980331882834] Failed to read output from testmodel.py, exit status != 0: 7.039575687143952 7.049204346 6.624129627 Calling exit ...