Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay") translateModel(AixLib.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009864, allocations: 113.9 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0517/0.0517, allocations: 12.04 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004607/0.0004607, allocations: 19.97 kB / 356.3 MB, free: 13.99 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.371/1.371, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 115.8 kB / 0.888 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4458, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Discrete.Examples.BooleanDelay): time 0.001999/0.4478, allocations: 1.422 MB / 0.9952 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.4484, allocations: 426.6 kB / 0.9956 GB, free: 10.47 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.4484, allocations: 1.125 kB / 0.9956 GB, free: 10.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.4485, allocations: 7.922 kB / 0.9956 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.4485, allocations: 14.48 kB / 0.9956 GB, free: 10.45 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.4487, allocations: 18.61 kB / 0.9956 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.4488, allocations: 53.16 kB / 0.9957 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.4489, allocations: 7.438 kB / 0.9957 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.4489, allocations: 27.86 kB / 0.9957 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.449, allocations: 22.7 kB / 0.9957 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.449, allocations: 4.219 kB / 0.9957 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.449, allocations: 2.219 kB / 0.9957 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.4491, allocations: 14.11 kB / 0.9958 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.4491, allocations: 18.39 kB / 0.9958 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.486e-05/0.4492, allocations: 43.38 kB / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4492, allocations: 0 / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4492, allocations: 0 / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4492, allocations: 1.062 kB / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004421/0.4497, allocations: 397.8 kB / 0.9962 GB, free: 9.898 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.4497, allocations: 9.156 kB / 0.9962 GB, free: 9.898 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.4497, allocations: 4.188 kB / 0.9962 GB, free: 9.898 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.4498, allocations: 183.1 kB / 0.9964 GB, free: 9.684 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4498, allocations: 5.75 kB / 0.9964 GB, free: 9.68 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.4498, allocations: 3.719 kB / 0.9964 GB, free: 9.68 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.488e-05/0.4499, allocations: 53.22 kB / 0.9964 GB, free: 9.633 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4499, allocations: 0 / 0.9964 GB, free: 9.633 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.45, allocations: 5.125 kB / 0.9964 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.45, allocations: 1.281 kB / 0.9964 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.883e-05/0.45, allocations: 17.64 kB / 0.9965 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.4503, allocations: 268.6 kB / 0.9967 GB, free: 9.324 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.4504, allocations: 49.16 kB / 0.9968 GB, free: 9.281 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.4504, allocations: 21.78 kB / 0.9968 GB, free: 9.266 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4504, allocations: 0 / 0.9968 GB, free: 9.266 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.4506, allocations: 104 kB / 0.9969 GB, free: 9.164 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.4506, allocations: 0 / 0.9969 GB, free: 9.164 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9): time 0.0002196/0.4508, allocations: 148.8 kB / 0.997 GB, free: 9.059 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.4508, allocations: 78.55 kB / 0.9971 GB, free: 8.965 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.4509, allocations: 108.7 kB / 0.9972 GB, free: 8.859 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.4509, allocations: 29.7 kB / 0.9972 GB, free: 8.824 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.4509, allocations: 82.27 kB / 0.9973 GB, free: 8.742 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.4509, allocations: 23.27 kB / 0.9973 GB, free: 8.723 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.451, allocations: 22.84 kB / 0.9974 GB, free: 8.703 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.451, allocations: 320.4 kB / 0.9977 GB, free: 8.383 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.451, allocations: 21.09 kB / 0.9977 GB, free: 8.371 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.4511, allocations: 37.06 kB / 0.9977 GB, free: 8.336 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.4512, allocations: 121.4 kB / 0.9978 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4512, allocations: 0 / 0.9978 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001202/0.4513, allocations: 129.4 kB / 0.998 GB, free: 8.121 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4513, allocations: 32.52 kB / 0.998 GB, free: 8.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4513, allocations: 9.125 kB / 0.998 GB, free: 8.082 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4513, allocations: 1.188 kB / 0.998 GB, free: 8.082 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.4514, allocations: 6.734 kB / 0.998 GB, free: 8.078 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4514, allocations: 2.375 kB / 0.998 GB, free: 8.078 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.4515, allocations: 8.781 kB / 0.998 GB, free: 8.074 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.4515, allocations: 2.094 kB / 0.998 GB, free: 8.074 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.869e-05/0.4515, allocations: 159.5 kB / 0.9982 GB, free: 7.91 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.4516, allocations: 8.281 kB / 0.9982 GB, free: 7.906 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.4516, allocations: 5.375 kB / 0.9982 GB, free: 7.895 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4516, allocations: 0 / 0.9982 GB, free: 7.895 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4516, allocations: 0 / 0.9982 GB, free: 7.895 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.4516, allocations: 87.19 kB / 0.9983 GB, free: 7.793 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4516, allocations: 6.25 kB / 0.9983 GB, free: 7.789 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.4517, allocations: 9.875 kB / 0.9983 GB, free: 7.785 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.4517, allocations: 15.33 kB / 0.9983 GB, free: 7.773 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001851/0.4519, allocations: 265.2 kB / 0.9985 GB, free: 7.539 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001545/0.4521, allocations: 302.3 kB / 0.9988 GB, free: 7.27 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.744e-05/0.4522, allocations: 36.83 kB / 0.9989 GB, free: 7.25 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.4522, allocations: 85.83 kB / 0.999 GB, free: 7.172 MB / 0.6857 GB Notification: Performance of Backend: time 1.91e-07/0.4522, allocations: 4 kB / 0.999 GB, free: 7.168 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.4525, allocations: 177.5 kB / 0.9991 GB, free: 7.016 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003246/0.4528, allocations: 0.6365 MB / 0.9997 GB, free: 6.355 MB / 0.6857 GB Notification: Performance of Templates: time 0.002475/0.4553, allocations: 0.9376 MB / 1.001 GB, free: 5.891 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.sim & ./AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)