Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0007042/0.0007042, 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.0009286/0.0009286, 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.9169/0.9169, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7473/0.7473, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.765e-05, allocations: 2.812 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001523/0.00155, allocations: 0.7901 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.002993, allocations: 1.505 MB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.003064, allocations: 4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003173, allocations: 19.73 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.003221, allocations: 39.66 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.00415, allocations: 0.5187 MB / 0.6209 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.004757, allocations: 483.1 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.004887, allocations: 37.59 kB / 0.6214 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.005105, allocations: 259.7 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.005276, allocations: 143.6 kB / 0.6218 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.005322, allocations: 40 kB / 0.6218 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.991e-05/0.005412, allocations: 51.98 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.005462, allocations: 43.84 kB / 0.6219 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.005575, allocations: 139.8 kB / 0.622 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.005956, allocations: 490.8 kB / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005959, allocations: 0 / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00596, allocations: 0 / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005965, allocations: 0 / 0.6225 GB, free: 9.188 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005586/0.006524, allocations: 0.5722 MB / 0.623 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.00656, allocations: 9.469 kB / 0.623 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.006594, allocations: 42.73 kB / 0.6231 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.006664, allocations: 32.8 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.006891, allocations: 197.5 kB / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.006909, allocations: 16.38 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.006949, allocations: 32.38 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.007147, allocations: 162.6 kB / 0.6235 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007154, allocations: 192 / 0.6235 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.007166, allocations: 384 / 0.6235 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.007173, allocations: 12.06 kB / 0.6235 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.007273, allocations: 83.94 kB / 0.6236 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.007989, allocations: 0.6048 MB / 0.6242 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.008132, allocations: 86.48 kB / 0.6243 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.00818, allocations: 36.84 kB / 0.6243 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.008192, allocations: 8 kB / 0.6243 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.008405, allocations: 155.4 kB / 0.6245 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.008407, allocations: 3.938 kB / 0.6245 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0003452/0.008752, allocations: 247 kB / 0.6247 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.008793, allocations: 59.34 kB / 0.6248 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.008903, allocations: 183.6 kB / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.008941, allocations: 37.7 kB / 0.625 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.00902, allocations: 132.6 kB / 0.6251 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.009046, allocations: 39.69 kB / 0.6251 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.00917, allocations: 113.6 kB / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.00925, allocations: 330.8 kB / 0.6256 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.009525, allocations: 308.4 kB / 0.6259 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.009809, allocations: 394.6 kB / 0.6262 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.01012, allocations: 406.6 kB / 0.6266 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01012, allocations: 0 / 0.6266 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006809/0.0108, allocations: 0.773 MB / 0.6274 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.01101, allocations: 164.8 kB / 0.6275 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01101, allocations: 4 kB / 0.6275 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01102, allocations: 8 kB / 0.6275 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-05/0.01104, allocations: 11.88 kB / 0.6276 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01105, allocations: 7.938 kB / 0.6276 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.01144, allocations: 143.7 kB / 0.6277 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.01148, allocations: 31.98 kB / 0.6277 GB, free: 3.32 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001185/0.01159, allocations: 158.7 kB / 0.6279 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.01161, allocations: 23.88 kB / 0.6279 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.01165, allocations: 17.81 kB / 0.6279 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01165, allocations: 0 / 0.6279 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.01165, allocations: 7.938 kB / 0.6279 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01166, allocations: 64 / 0.6279 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.01203, allocations: 475.5 kB / 0.6284 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01204, allocations: 0 / 0.6284 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.01205, allocations: 7.938 kB / 0.6284 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01205, allocations: 7.938 kB / 0.6284 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01206, allocations: 8.078 kB / 0.6284 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01206, allocations: 3.938 kB / 0.6284 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01206, allocations: 4 kB / 0.6284 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.01226, allocations: 277.8 kB / 0.6287 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.01228, allocations: 23.78 kB / 0.6287 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01229, allocations: 7.938 kB / 0.6287 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.01233, allocations: 8 kB / 0.6287 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.01237, allocations: 15.97 kB / 0.6287 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01238, allocations: 15.92 kB / 0.6287 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.01244, allocations: 121.8 kB / 0.6289 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01244, allocations: 0 / 0.6289 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002351/0.01267, allocations: 76 kB / 0.6289 GB, free: 2.012 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004075/0.01308, allocations: 0.826 MB / 0.6297 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.01361, allocations: 0.7004 MB / 0.6304 GB, free: 372 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01361, allocations: 0 / 0.6304 GB, free: 372 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.996e-05/0.01368, allocations: 66.14 kB / 0.6305 GB, free: 308 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01395, allocations: 48.62 kB / 0.6305 GB, free: 260 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.01671, allocations: 3.62 MB / 0.6341 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.126e-05/0.01679, allocations: 128 kB / 0.6342 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.01684, allocations: 17.48 kB / 0.6342 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.01718, allocations: 56.48 kB / 0.6343 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.01718, allocations: 0 / 0.6343 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.03798, allocations: 7.633 MB / 0.6417 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.123, allocations: 0 / 0.6417 GB, free: 4.746 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.917687525972724] Failed to read output from testmodel.py, exit status != 0: 7.206975384615362 7.218381323 7.210688611 Calling exit ...