Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0007688/0.0007688, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007617/0.0007617, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6846/0.6846, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.222e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001289/0.001311, allocations: 0.5939 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.002363, allocations: 1.139 MB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.0024, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.002425, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.002485, allocations: 11.86 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.002849, allocations: 118.4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.00297, allocations: 91.89 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.003054, allocations: 7.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.00313, allocations: 55.94 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.003211, allocations: 19.97 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.003229, allocations: 8 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.00328, allocations: 19.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.003302, allocations: 15.92 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.003342, allocations: 19.98 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003474, allocations: 95.83 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003476, allocations: 0 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003477, allocations: 0 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003481, allocations: 4 kB / 0.6202 GB, free: 11.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003485/0.003829, allocations: 311.8 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.003865, allocations: 8.031 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.00389, allocations: 34.75 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.003922, allocations: 4.938 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.826e-05/0.003991, allocations: 113.7 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.004009, allocations: 8.375 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004023, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.004106, allocations: 42.25 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004113, allocations: 4.172 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004122, allocations: 384 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004127, allocations: 8.125 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.45e-05/0.004162, allocations: 7.984 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.004467, allocations: 244 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.00452, allocations: 34.5 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.004539, allocations: 8.922 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.004547, allocations: 0 / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.004665, allocations: 67.33 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004666, allocations: 0 / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001666/0.004833, allocations: 81.52 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.004865, allocations: 55.41 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.004926, allocations: 105.8 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.004945, allocations: 29.7 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.004986, allocations: 92.12 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-06/0.004995, allocations: 3.953 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.005042, allocations: 29.7 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.005116, allocations: 318.8 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.005186, allocations: 61.67 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.005249, allocations: 76.27 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.756e-05/0.005327, allocations: 92.2 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005329, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.005507, allocations: 188.9 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.005535, allocations: 37.7 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005539, allocations: 0 / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.005551, allocations: 0 / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.005601, allocations: 7.938 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.005607, allocations: 3.984 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.00573, allocations: 32.03 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.005741, allocations: 8 kB / 0.6222 GB, free: 9.121 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.122e-05/0.005803, allocations: 122.8 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.00581, allocations: 3.938 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.005827, allocations: 4 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.005831, allocations: 7.984 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.005835, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.005839, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.005918, allocations: 140.7 kB / 0.6225 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005919, allocations: 0 / 0.6225 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.005928, allocations: 3.938 kB / 0.6225 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005929, allocations: 4 kB / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005936, allocations: 4 kB / 0.6225 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005936, allocations: 0 / 0.6225 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005937, allocations: 0 / 0.6225 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.581e-05/0.006013, allocations: 81.11 kB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.006023, allocations: 11.89 kB / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.006032, allocations: 0 / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.006041, allocations: 0 / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.006065, allocations: 12.22 kB / 0.6226 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.00607, allocations: 7.922 kB / 0.6226 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.006096, allocations: 79.28 kB / 0.6227 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006096, allocations: 8 kB / 0.6227 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001421/0.006238, allocations: 16 kB / 0.6227 GB, free: 8.551 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002616/0.0065, allocations: 0.6203 MB / 0.6233 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.006661, allocations: 149 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.006663, allocations: 0 / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.006683, allocations: 12 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.006828, allocations: 11.59 kB / 0.6235 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.007865, allocations: 1.519 MB / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.007904, allocations: 71.34 kB / 0.6251 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.007927, allocations: 0 / 0.6251 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.007955, allocations: 12.5 kB / 0.6251 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.007956, allocations: 0 / 0.6251 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02229, allocations: 2.751 MB / 0.6277 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/6.719, allocations: 6.562 kB / 0.6278 GB, free: 3.391 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.344643220305443] Failed to read output from testmodel.py, exit status != 0: 6.802749844267964 6.8123844 6.807205364 Calling exit ...