Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 184.7 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.0009551, allocations: 102.8 kB / 0.6817 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004765, allocations: 14.53 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 106.3 MB / 0.8995 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.00262/0.2389, allocations: 1.234 MB / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.24, allocations: 276.1 kB / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.2401, allocations: 0 / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.2401, allocations: 3.938 kB / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2403, allocations: 19.84 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2406, allocations: 27.97 kB / 0.901 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.2408, allocations: 83.75 kB / 0.9011 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.241, allocations: 28.22 kB / 0.9011 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2411, allocations: 27.86 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2412, allocations: 35.83 kB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.2413, allocations: 4 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.2413, allocations: 4 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.2414, allocations: 19.91 kB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2415, allocations: 41.64 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2416, allocations: 63.84 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2416, allocations: 0 / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2417, allocations: 0 / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2417, allocations: 7.938 kB / 0.9013 GB, free: 63.57 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00107/0.2428, allocations: 413.4 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2429, allocations: 8.031 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.2429, allocations: 12.84 kB / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2431, allocations: 174.2 kB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2432, allocations: 4.375 kB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.2432, allocations: 8.375 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.2439, allocations: 114.1 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2439, allocations: 4.188 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.244, allocations: 3.938 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.244, allocations: 7.984 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.2449, allocations: 111.9 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.246, allocations: 364.6 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2472, allocations: 158.6 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.2478, allocations: 72.75 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.2478, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006509/0.2485, allocations: 123.3 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.918e-06/0.2485, allocations: 0 / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001596/0.2501, allocations: 225.5 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2502, allocations: 59.34 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2504, allocations: 132.8 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.2504, allocations: 29.7 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.133e-05/0.2505, allocations: 92.14 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.2506, allocations: 27.64 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.2506, allocations: 4 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2507, allocations: 326.8 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.2512, allocations: 67.95 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.2518, allocations: 87.33 kB / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.2523, allocations: 67.95 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2523, allocations: 0 / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001131/0.2535, allocations: 193.4 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2535, allocations: 9.656 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2535, allocations: 4 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.2536, allocations: 0 / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.2539, allocations: 31.91 kB / 0.9041 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.254, allocations: 0 / 0.9041 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.2543, allocations: 35.95 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2544, allocations: 7.984 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.2545, allocations: 129.6 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2546, allocations: 3.906 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.2557, allocations: 189.8 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2558, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2558, allocations: 0 / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2558, allocations: 85.02 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.2559, allocations: 8 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.2562, allocations: 27.91 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.2564, allocations: 19.97 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001343/0.2578, allocations: 277.4 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001093/0.2589, allocations: 346.6 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000521/0.2594, allocations: 71.95 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.2595, allocations: 95.27 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.122e-06/0.2595, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.2607, allocations: 170.3 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008462/0.2616, allocations: 0.6453 MB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.007244/0.2688, allocations: 1.297 MB / 0.9074 GB, free: 56.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)