Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.00136/0.00136, allocations: 72.45 kB / 19.02 MB, free: 1.125 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.001399/0.001399, allocations: 168.2 kB / 22.29 MB, free: 3.531 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.435/1.435, 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.253/1.253, allocations: 154.7 MB / 413.8 MB, free: 3.117 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.Logical.Validation.Nand,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",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.002169/0.002169, allocations: 69.84 kB / 0.6181 GB, free: 1.09 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.216/0.2182, allocations: 102 MB / 0.7177 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001805/0.22, allocations: 0.6239 MB / 0.7183 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2217, allocations: 1.221 MB / 0.7195 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.2217, allocations: 0 / 0.7195 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.2217, allocations: 3.938 kB / 0.7195 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.2218, allocations: 11.86 kB / 0.7195 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.2224, allocations: 216.7 kB / 0.7197 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.2227, allocations: 171.7 kB / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.2228, allocations: 12.27 kB / 0.7199 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2229, allocations: 95.92 kB / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2231, allocations: 55.8 kB / 0.72 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2231, allocations: 19.98 kB / 0.72 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.2232, allocations: 31.92 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.2232, allocations: 8 kB / 0.7201 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.2233, allocations: 51.84 kB / 0.7201 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2235, allocations: 151.6 kB / 0.7202 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2235, allocations: 0 / 0.7202 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2235, allocations: 0 / 0.7202 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2235, allocations: 0 / 0.7202 GB, free: 8.555 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.0005692/0.2241, allocations: 365.5 kB / 0.7206 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2241, allocations: 12.03 kB / 0.7206 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.2242, allocations: 34.75 kB / 0.7206 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.2242, allocations: 20.81 kB / 0.7207 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2244, allocations: 106.5 kB / 0.7208 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2244, allocations: 4.375 kB / 0.7208 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.2244, allocations: 8.375 kB / 0.7208 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2245, allocations: 54.17 kB / 0.7208 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2245, allocations: 7.938 kB / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2245, allocations: 0 / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2245, allocations: 0 / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.2246, allocations: 16 kB / 0.7209 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.2251, allocations: 303.8 kB / 0.7211 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.2252, allocations: 34.52 kB / 0.7212 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.2252, allocations: 16.8 kB / 0.7212 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2252, allocations: 4.078 kB / 0.7212 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.2254, allocations: 83.38 kB / 0.7213 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2254, allocations: 0 / 0.7213 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002834/0.2257, allocations: 101.6 kB / 0.7214 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2258, allocations: 55.41 kB / 0.7214 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2259, allocations: 117.8 kB / 0.7215 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.226, allocations: 37.69 kB / 0.7216 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.226, allocations: 96.08 kB / 0.7217 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2261, allocations: 11.91 kB / 0.7217 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2262, allocations: 49.69 kB / 0.7217 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2263, allocations: 322.8 kB / 0.722 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2265, allocations: 123.4 kB / 0.7221 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2268, allocations: 147.7 kB / 0.7223 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.227, allocations: 172 kB / 0.7225 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.227, allocations: 0 / 0.7225 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005262/0.2275, allocations: 320.3 kB / 0.7228 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.2276, allocations: 71.39 kB / 0.7228 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2276, allocations: 0 / 0.7228 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2276, allocations: 0 / 0.7228 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.2277, allocations: 4 kB / 0.7228 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2277, allocations: 0 / 0.7228 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.228, allocations: 56.02 kB / 0.7229 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.2281, allocations: 19.98 kB / 0.7229 GB, free: 5.523 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001282/0.2282, allocations: 125.7 kB / 0.723 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2282, allocations: 15.88 kB / 0.723 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.2283, allocations: 12.42 kB / 0.723 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2283, allocations: 0 / 0.723 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2283, allocations: 0 / 0.723 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2283, allocations: 4 kB / 0.7231 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2284, allocations: 140.7 kB / 0.7232 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2284, allocations: 0 / 0.7232 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.2285, allocations: 7.984 kB / 0.7232 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2285, allocations: 0 / 0.7232 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2285, allocations: 0 / 0.7232 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2285, allocations: 3.938 kB / 0.7232 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2285, allocations: 0 / 0.7232 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2287, allocations: 121 kB / 0.7233 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.2287, allocations: 0 / 0.7233 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2287, allocations: 4 kB / 0.7233 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.2287, allocations: 4 kB / 0.7233 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2288, allocations: 15.92 kB / 0.7233 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2288, allocations: 0 / 0.7233 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.2288, allocations: 95.2 kB / 0.7234 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2288, allocations: 0 / 0.7234 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002509/0.2291, allocations: 32 kB / 0.7235 GB, free: 4.883 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008124/0.2299, allocations: 0.6479 MB / 0.7241 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.2303, allocations: 282.1 kB / 0.7244 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2303, allocations: 256 / 0.7244 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.2304, allocations: 35.92 kB / 0.7244 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2307, allocations: 11.98 kB / 0.7244 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2331, allocations: 1.961 MB / 0.7263 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.2332, allocations: 67.34 kB / 0.7264 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.549e-05/0.2333, allocations: 15.77 kB / 0.7264 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.2333, allocations: 20.5 kB / 0.7264 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2333, allocations: 0 / 0.7264 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.2766, allocations: 3.742 MB / 0.7301 GB, free: 14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.53, allocations: 10.58 kB / 0.7301 GB, free: 13.99 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.515642640995793] Failed to read output from testmodel.py, exit status != 0: 11.645688478005468 11.678183293 11.449020019 Calling exit ...